Invalid key when using api
Hello
when using "SL Hållplatser och Linjer 2" , I get an error indicating key is invalid.
What I tried to do was to retrieve a list of bus lines and their corresponding bus stops. I Used the following url:
http://api.sl.se/api2/LineData.xml?model=[JourneyPatternPointOnLine]&key=apikey
Am I doing something wrong here?
Thank you for your time
Siamak
when using "SL Hållplatser och Linjer 2" , I get an error indicating key is invalid.
What I tried to do was to retrieve a list of bus lines and their corresponding bus stops. I Used the following url:
http://api.sl.se/api2/LineData.xml?model=[JourneyPatternPointOnLine]&key=apikey
Am I doing something wrong here?
Thank you for your time
Siamak
Följ inlägget
0
följare
I think the model you are using is incorrect. Try this api-call instead:
http://api.sl.se/api2/LineData.xml?model=jour&key=
Kind regards
Kenneth
Best regards
Kenneth