Till senaste kommentaren
Detta inlägg är gammalt och kan innehålla inaktuell information.

API key for safty TrafficSafetyCamera

Hi,
I have an application that is linked to TrafficSafetyCamera API, it was working perfectly and suddenly it stopped working. When I debugged the <REQUEST> through the console, it informed me that the API key was not authorized.

The question is, which API key should I use for the TrafficSafetyCamera?

Regards,
Omar

Kommentarer

  • Hi Omar,

    An API key for the "Trafikverket" API is required in order to use the TrafficSafetyCamera API.

    Regards,
    Bert
    Bert på Trafiklab
  • Hi,

    I would like to add all WeatherStationSituation, and RoadCondition APIs are stoped working.
    Regards,
    Omar
  • Hi,
    Yes, I have an API key that did work, but it just stopped working suddenly. I use rafikverket öppet API key.
    Regards,
    Omar
  • Do you use an API version below 2?

    The following URLs have stopped working:

    https://api.trafikinfo.trafikverket.se/v1.3/data.xml
    https://api.trafikinfo.trafikverket.se/v1.3/data.json
    https://api.trafikinfo.trafikverket.se/v1.2/data.xml
    https://api.trafikinfo.trafikverket.se/v1.2/data.json
    https://api.trafikinfo.trafikverket.se/v1.1/data.xml
    https://api.trafikinfo.trafikverket.se/v1.1/data.json
    https://api.trafikinfo.trafikverket.se/v1/data.xml
    https://api.trafikinfo.trafikverket.se/v1/data.json

    and have been replaced with

    https://api.trafikinfo.trafikverket.se/v2/data.xml
    https://api.trafikinfo.trafikverket.se/v2/data.json

    https://api.trafikinfo.trafikverket.se/DynamicContent/ContentDetails/635a63e2dc19bf12f0d448ac

    Regards,
    Bert
    Bert på Trafiklab
  • My bad, I did not v1 stopped working.
    Now everything is working perfectly!

    Many thanks for the help.

    Regards,
    Omar
  • Glad to hear the issue is resolved!

    Regards,
    Bert
    Bert på Trafiklab

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.