Collect possible Pokémon Go nests from OSM (Open Street Map) data.
- Python3
- MariaDB
- bc
apt install bc
- Copy the configuration files and fill both with the corresponding settings.
cp config/config.ini.example config/config.ini && cp scripts/config.ini.example scripts/config.ini
-
Create your geofence at https://fence.mcore-services.be or copy it from e.g. PoracleJS and place it in
config/areas.json
. -
Install the dependencies.
pip3 install -r requirements.txt
- Enjoy! 🚀
python3 run.py
In order to execute automatically the scripts and keep updated your nests append this line to your crontab:
05 */<NEST_PROCESSING_FREQUENCY_HOURS> * * * cd <PATH_TO_NESTCOLLECTOR>/scripts && ./processNests.sh >> <PATH_TO_NESTCOLLECTOR>/crontab.out 2>> <PATH_TO_NESTCOLLECTOR>/crontab.err
NOTE: NEST_PROCESSING_FREQUENCY_HOURS should match the value specified in scripts/config.ini
.