Skip to content

Show current Nextbike count聽#29

Description

@kiliankoe

Just a bike icon with a number next to it would probably suffice. Would make a nice addition imo.

馃毑 5

Getting the data is trivial:

curl "https://api.nextbike.net/maps/nextbike-live.json?city=2"
// ...
{
  "uid": 4405708,
  "lat": 51.025619416653,
  "lng": 13.723919391632,
  "bike": false,
  "name": "Andreas-Pfitzmann-Bau",
  "address": null,
  "spot": true,
  "number": 4461,
  馃憠 "bikes": 0, 馃憟
  "bike_racks": 0,
  "free_racks": 0,
  "maintenance": false,
  "terminal_type": "traffic_sign",
  "bike_list": [],
  "bike_numbers": [],
  "bike_types": [],
  "place_type": "0",
  "rack_locks": false
},
// ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions