You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe a dumb question, but I am a first-time user.
What parameters go into the Client instance?
From Navitia I got username, password, Application and Token.
How do I access the API with your Client class?
You first have to ask for an API key, for Navitia API, you can get it here. Suppose you have it:
from navitia_client import Client
client = Client(user=NAVITIA_USER)
client.set_region("fr-idf")
Thanks,
The text was updated successfully, but these errors were encountered:
I came across your issue with almost 6 years of delay but hopefully this helps someone out there !
To use the navitia_client, you need to instantiate the Client class using your API key (Token) provided by Navitia :
from navitia_client import Client
# Replace 'YOUR_NAVITIA_API_KEY' with your actual Token
client = Client(user='YOUR_NAVITIA_API_KEY')
client.set_region('fr-idf')
You do not need to provide your username, password, or Application for accessing the API with navitia_client.
Maybe a dumb question, but I am a first-time user.
What parameters go into the Client instance?
From Navitia I got
username
,password
,Application
andToken
.How do I access the API with your Client class?
You first have to ask for an API key, for Navitia API, you can get it here. Suppose you have it:
Thanks,
The text was updated successfully, but these errors were encountered: