Have you ever thought
Damn, I wish I could check the status of my local bike sharing network on a terminal
Well, now with cmdbikes
you can!
This is a silly client to showcase python-citybikes, a python wrapper for the Citybikes API. You can learn more about the project at https://citybik.es.
If your network is not supported, add an issue or a PR on pybikes.
$ pip install cmdbikes
$ cmdbikes show --help
Usage: cmdbikes show [OPTIONS] ADDRESS
Display status of station on a given address.
Options:
--geocode / --no-geocode Geocode station positions into a readable address
-n INTEGER Number of stations to show.
--color / --no-color Use colors on output
--json Return JSON representation
--help Show this message and exit.
Check the list of supported networks
$ cmdbikes ls
Argentina [2]
β Buenos Aires (Ecobici)
β Rosario (Mi bici tu bici)
Australia [4]
β Melbourne (Melbourne Bike Share)
β Brisbane (CityCycle)
β Curtin University, Perth, WA (Curtin Bike Share)
β Melbourne, AU (Monash BikeShare)
Austria [23]
β Wien (Citybike Wien)
β Wachau (LEIHRADL)
...