Welcome, Guest
Username: Password: Remember me

TOPIC: registration issues

registration issues 7 months 3 days ago #1073

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
The administrator has disabled public write access.

registration issues 7 months 3 days ago #1074

  • jluebbe
  • jluebbe's Avatar
  • Offline
  • Senior Member
  • Posts: 57
  • Thank you received: 20
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.
Last Edit: 7 months 3 days ago by jluebbe.
The administrator has disabled public write access.
The following user(s) said Thank You: paulo110
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!