Automatic search pokemon in FPM using python and webdriver, sending email when it encounters.
I only tested on Linux, but running on windows should not be a problem.
First, you need install Chrome Driver:
https://sites.google.com/a/chromium.org/chromedriver/getting-started http://chromedriver.storage.googleapis.com/index.html?path=2.25/
Install Python 2.7:
Install required python package (use with virtualenv):
pip install -r requirements.txt
Create this folders in home dir (~/.pokemon/ and ~/.pokemon/logs):
mkdir -p ~/.pokemon/logs
In ~/.pokemon create config.json and puts your email info:
{
"global": {
"email": {
"from": "[email protected]",
"password": "emailpassword",
"maps-key": "mapskey",
"to": [
"[email protected]"
]
}
},
"places": {
"university": {
"latitude": "-23.123456",
"longitude": "-51.123456"
},
"park": {
"latitude": "-23.426085",
"longitude": "-51.9397617"
},
"myhome": {
"latitude": "-23.123456",
"longitude": "-51.123456"
}
}
}
https://developers.google.com/maps/documentation/javascript/get-api-key
python main.py place
ex: python main.py university
Move search pokemon names (still in searchagents/searcher.py (shame, shame, shame!!!)) to config.json