This is a fork of the popular PokemonGo-Map repository with the purpose of allowing users to search for specific Pokemon without having to constantly monitor the map of nearby Pokemon. It's team minded, because this allow you and your team to efficiently track Pokémon that spawn near your work location and go hunting during lunch break ;) . All API and map functionality was left untouched.
Instead of from the command-line, all arguments are read from a config.json
file. In addition to all of the options laid out here, I've introduced three required fields: slackWebhook
to obviously join a channel on Slack and latitude and longitude to calculate the distance between you and the Pokémon.
Here's a sample config.json
:
{
"auth_service": "google",
"username": "myemailuser",
"password": "pikachu123",
"step_limit": 5,
"location": "30, rue de la Victoire, Paris",
"latitude" : 48.875418,
"longitude": 2.338118,
"notify": "dratini,magnemite,electabuzz,hitmonchan,hitmonlee,chansey,lapras,snorlax,porygon,mew,mewtwo,moltres,zapdos,articuno,ditto,seel,gyarados,cubone",
"slackWebhook" : "https://hooks.slack.com/services/youslackwebhook"
}
Install the necessary dependencies (including the Pushbullet client) by running pip install --upgrade -r requirements.txt
. Create a config file and then run the main script using python main.py
.
Using this software is against the ToS and can get you banned. Use at your own risk.
You'll have to create a incomming webhook in your Slack team settings. Get the Url and paste it in the config file. You're set !