The osdc
Python package collects selected data from the
Opensky API
and stores it in an Influx database.
First install the opensky_api
package by hand
(since it's not on PyPI and PEP 508 sucks for dependencies):
pip install git+https://github.com/openskynetwork/opensky-api.git@master#egg=opensky_api&subdirectory=python
Then install this package:
pip install .
Start the collector using default configuration:
python -m osdc
To customize configuration, create a config.yml
file and run:
python -m osdc --config config.yml
Have a look at the settings.py
file to see what can be configured.