API key
I tried to create a new api key for the following apis:
SL Nearby stops 2
SL Location lookup
SL Travel planner 3.1
Stops data
but got an error message when I use it with https://api.sl.se/api2/LineData. json? model=jour :
{
"StatusCode": 1005,
"Message": "Invalid api for key"
}
SL Nearby stops 2
SL Location lookup
SL Travel planner 3.1
Stops data
but got an error message when I use it with https://api.sl.se/api2/LineData. json? model=jour :
{
"StatusCode": 1005,
"Message": "Invalid api for key"
}
Följ inlägget
1
följare
The Stops and lines API has been discontinued in favor of the new SL Transport API. The SL transport API does not require an API key. The documentation can be found here: https://www.trafiklab.se/api/trafiklab-apis/sl/transport/.
Regards,
Bert