Skip to content

A small script to get all city bike stations, their capacity and number of available bikes (specific to Oslo Bysykkel)

Notifications You must be signed in to change notification settings

dizzi90/bysykkel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

city_bike.py

A small script to get all city bike stations, their capacity and number of available bikes. Built with python and Flask using OsloBysykkel APIs

Usage

Clone

git clone https://github.com/dizzi90/bysykkel
cd bysykkel

Simple

$ pipenv shell
(bysykkel) $ gunicorn -w3 --bind 0.0.0.0:3000 --access-logfile city_bike:app

Docker

$ docker build -f deploy/Dockerfile -t bysykkel:test .
$ docker run -p 3000:3000 bysykkel:test

localhost:3000

About

A small script to get all city bike stations, their capacity and number of available bikes (specific to Oslo Bysykkel)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published