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!
Loved your latest movie! 😉
The TrafficSituation API that you are refering to is that the SL Trafikläget 2 API?
Is it missing in the documentation, API response or both?
Best regards
Kenneth
Thanks for that, I think I got the acting done just right haha :P.
Anyhow, yes I do refer to Trafikläget.
Every 'TrafficType' has a assigned ID in the API response, but nowhere to be found in the documentation.
Also while I'm here, I'd like to say that the API documentation for NearbyStopsV2 (https://www.trafiklab.se/node/25595/documentation) is incorrect/the API response responds incorrectly. The standard StatusCode, ExecutionTime, etc. are not in the API response, I am unsure if it's a bug or intended but in the API documentation it states differently.
Kindest regard,
Venom AKA Karim Obeia.
Thanks for the feedback. We need to look into this issue together with SL. Will get back to you as soon as we know more.
Kind regards
Kenneth