Skip to content

Collect possible Pokémon Go nests from OSM (Open Street Map) data

License

Notifications You must be signed in to change notification settings

MCoreServices/nestcollector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nestcollector

Collect possible Pokémon Go nests from OSM (Open Street Map) data.

Getting started

Prerequisites

  • Python3
  • MariaDB
  • bc
     apt install bc

Installation

  1. 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
  1. Create your geofence at https://fence.mcore-services.be or copy it from e.g. PoracleJS and place it in config/areas.json.

  2. Install the dependencies.

pip3 install -r requirements.txt
  1. Enjoy! 🚀
python3 run.py

Scripts

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.

Authors

About

Collect possible Pokémon Go nests from OSM (Open Street Map) data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.4%
  • Shell 8.8%
  • JavaScript 1.8%