https://github.com/lawiss/velov_scraping
Scrape and save real time data from Velo'v service of Lyon city
https://github.com/lawiss/velov_scraping
realtime-data scraping velov
Last synced: about 1 year ago
JSON representation
Scrape and save real time data from Velo'v service of Lyon city
- Host: GitHub
- URL: https://github.com/lawiss/velov_scraping
- Owner: Lawiss
- Created: 2021-02-21T20:34:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T12:31:40.000Z (over 4 years ago)
- Last Synced: 2025-02-10T05:18:09.673Z (over 1 year ago)
- Topics: realtime-data, scraping, velov
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Velo'v scraping project
This projects aims to scrape and save realtime data from JC Decaux Velo'v service (Lyon’s self-service cycle scheme) for analysis purpose.
Data source: [Stations Vélo'v de la Métropole de Lyon](https://data.grandlyon.com/jeux-de-donnees/stations-velo-v-metropole-lyon/donnees)
The project has been built in oder to be deployed on a Raspberry PI 3 B+ (armv7l) with docker.
## Requirements
- Python>=3.7
- pyyaml==5.4
- pandas==1.2.2
- requests==2.22.0
or Docker
## Run the container
To run the container in background with docker volumes for pesistent data:
```shell
docker build -t velov .
docker run -d -v $(pwd)/logs:/usr/app/logs -v $(pwd)/data:/usr/app/data velov
```
## Settings
Currently the only setting available is the `SLEEP_TIME` parameter which is the time between each iteration of the scraping process.