Skip to content

A Python-Script, that let's you retrieve current information about Voi Scooter Sharing via the Voi-API.

Notifications You must be signed in to change notification settings

seppowalther/swlt.voiscooters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

swlt.voiscooters

This is a Python script, that let's you open API-Sessions with the Voi System, to be able to retrieve information about the current scooter state around the globe.

Information

Because I'm pretty much interested in the number of the rented scooters in my city, the goal here is to develop an algorithm which detects if a scooter that goes offline, if it has been rented by a customer or if it was retired for recharging or maintenance purposes by the scooter company.
Please consider this as under development.
There is still much much work to do.

How to use

The .py files are located in ./venv/src.
To use the Voi-Api, what you need is an authToken. This authToken is generated by entering and confirming your mobile phone number and your E-Mail address.
So, please generate the authToken first by running getauthtoken.py first.
By running main.py, the current number of available scooters in Nuremberg will be attached to statistik.txt every minute; This file might be renamend in the near future.

Thank you

Thank you @ubahnverleih for working out those API-Calls.
You can find his full documentation here:

About

A Python-Script, that let's you retrieve current information about Voi Scooter Sharing via the Voi-API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published