Golemio API

Swagger

Zde najdete soubor ukázkovách volání Golemio API. Pro reprodukci použijte ukázkový API klíč, popř. si vygenerujte vlastní pomocí api.golemio.cz/api-keys

Postman kolekce

Postman je uživatelsky přívětivý program pro testování API - připravili jsme pro vás hotovou kolekci requestů pro snadný začátek práce s Golemio API, kterou snadno do tohoto programu naimportujete - stáhněte si kolekci v ZIP archivu.

Ukázka použití URL parametrů

  • get all parkings (without any parameters - all parameters are optional)
    • {baseurl}/parkings/
  • get all parkings in 300m range around location 50.11548,14.437327 (using latlng and range parameters)
    • {baseurl}/parkings/?latlng=50.11548,14.437327&range=300
  • get all parkings in Prague 7 (using districts array parameter - works also for single value)
    • {baseurl}/parkings/?districts[]=praha7
  • get 10th - 20th record (2nd page of 10 elements each when paginating) (using limit and offset parameters)
    • {baseurl}/parkings/?limit=10&offset=10
  • get 10th - 20th record (2nd page of 10 elements each when paginating) of parkings in Prague 7 or Prague 8, which are in 3000m range from location 50.11548,14.437327. All parameters are evaluated at the same time (AND condition), but multiple values of the same array parameter districts are taken as OR. All filtering parameters are evaluated first, pagination (limit and offset) at the end on already filtered results.
    • {baseurl}/parkings/?latlng=50.11548,14.437327&range=300&districts[]=praha7&districts[]=praha8&limit=10&offset=10