Välkommen till Trafiklab:s användare- och supportforum! Ställ frågor, rapportera problem och hjälp oss med förslag och idéer!
Vid felrapporter ber vi dig inkludera exakt API-namn och om möjligt ett exempelanrop för att underlätta felsökningen. Glöm inte att ta bort din API-nyckel när du delar ditt exempelanrop.
Undrar du hur du får tillgäng Trafiklabs data? Läs vår introduktion här: https://www.trafiklab.se/hur-gor-jag
Welcome to Trafiklab's user and supportforum. Ask questions, report issues and help us improve with suggestions and ideas!
If you open a new issue, please always include the exact API you're talking about, and, if applicable, include a sample request so we can check if contains the right parameters. Don't forget to remove your API keys when sharing example requests.
Do not use AI to write questions.
Välkommen till Trafiklab:s kund- och supportforum! Ställ frågor, rapportera problem och hjälp oss med förslag och idéer!
GetSite is replaced by a new API, SL Platsuppslag, which also returns geo positions:
http://www.trafiklab.se/api/sl-platsuppslag/sl-...
/Sabina
Hm...
For me it is always responding the same thing (starting with Barkarby ...)
Is it still under development?
This is what I use:
http://testapi.sl.se/api/typeahead.json?key=myk...
Sorry, forgot to mention that! The current version is a test version and is only returning mockup data.
We´re planning to have the API in production and returning real data in the end of this month.Then you will need to apply for a key for access, and change the url. The documentation (in swedish) will then be updated with this information.
/Sabina
That's great.
I look forward to it.
Any alternative places to get the list of sites with positions for now?
Sorry, there is no alternative places.
/Martin