registration issues

4 years 1 month ago #1073 by paulo110
registration issues was created by paulo110
Hello,

I tried to execute the python API with the following code

api = OpenSkyApi(paulo110,#########)
states = api.get_states(time_secs=1584973950)
print(states)

and pyton raised the following exception :

NameError: name 'paulo110' is not defined

Does anyone ever have this problem ?

Thanks for your time.
Paul

Please Log in or Create an account to join the conversation.

4 years 1 month ago - 4 years 1 month ago #1074 by jluebbe
Replied by jluebbe on topic registration issues
you may have forgotten the quotation marks either ' ' or " " around user name and password. It is a string and not the name of a variable.
The following user(s) said Thank You: paulo110

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!