Skip to content

Unofficial restful service for bus times in and around Reykjavík.

Notifications You must be signed in to change notification settings

gudmundur/straeto-api

Repository files navigation

api.gulur.is

Unofficial restful service for bus times in and around Reykjavík. This service is used by

/stops/

List of all stops.

Examples

/stops/{id}

Information about a specific stop and bus stop times for that particular stop.

Parameters

  • range - Predefined time ranges which are
    • day - the entire day.
    • restOfDay - past 15 minutes till the end of day.
    • now - from past 15 minutes to an hour from now.
  • from - From a certain time (ISO 8601)
  • to - To a certain time (ISO 8601)

Examples

/nearest

The nearest stops to a location.

Parameters

  • latitude - Required
  • longitude - Required
  • radius - Radius to search within (default: 500m)

Examples

/buses

Stop times for the nearest buses to a location.

Parameters

  • latitude - Required
  • longitude - Required
  • radius - Radius to search within (default: 500m)
  • range - Predefined time ranges which are
    • day - the entire day.
    • restOfDay - past 15 minutes till the end of day.
    • now - from past 15 minutes to an hour from now.
  • from - From a certain time (ISO 8601)
  • to - To a certain time (ISO 8601)

Examples

About

Unofficial restful service for bus times in and around Reykjavík.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published