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

Get site geo positions

Hi,

Is there a way to get site positions by their IDs?

The https://api.trafiklab.se/sl/realtid/GetSite gives you only name and ID , but what about the positions?

Best Regards,

Kommentarer

  • 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

    Team Trafiklab

Kommentera eller skriv ett nytt inlägg

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