Location ID link broken
The location ID link in the documentation redirects to a 404 page. Can't find the information anywhere on Trafiklab. Is there anywhere else I can look?
Ditto. I looked around but I can't find the right link to find Location IDs.
Same here :-/
Same here :-/
Got it working by using the "SL API (alternative method)" https://hasl.sorlov.com/locationid
They have removed the api-console on the website so only alternate method works now. Will update documentation
The new integration lets you search for location directly during setup. Alternatively you can use this api:
curl https://transport.integration.sl.se/v1/sites\?expand\=true >> stations.json
No api key required, the response contains stop_areas
{
"id": 9961,
"gid": 9091001000009961,
"name": "Bullerholmsgränd övre",
"lat": 59.2803383565504,
"lon": 17.8931992090059,
"stop_areas": [
16268
],
"valid": {
"from": "2012-06-23T00:00:00"
}
},
This can be closed.