Is there anywhere some examples using the python library satnogsdbapiclient ?
I want to write a python script which for example extracts all the transmitters at a given frequency and modulation mode.
I have installed the library Python (https://pypi.org/project/satnogs-db-api-client/) but there is no explanation. The documentation is pointed to
satnogs-db API and SDK Documentation
but the link is not valid.
I’ve opened an issue to fix the broken link. Until then I’m attaching here an html file that you can open on your browser and see details on how to use DB API Client.
index.html (895.3 KB)
Thank a lot fredy, your are very reactive as usual. Best regards.
I found a problem following the provided examples when I configure API key authorization with Python3 :
satnogsdbapiclient.configuration.api_key[‘Authorization’] = ‘YOUR_API_KEY’
#I replace of course YOUR_API_KEY with my API Key
return an error
AttributeError: module ‘satnogsdbapiclient.configuration’ has no attribute ‘api_key’
So I use another solution :
configuration = satnogsdbapiclient.Configuration()
configuration.api_key[‘authorization’] = ‘YOUR_API_KEY’
And it works … It can help somebody …