Learning project for Pokemon Go & Slack to check for spawns around the work office and check the status of "our" gym. Requires .Net Framework 4.6
Using POGOLib and Slack.Webhooks to interact with the services.
Can be installed as a Windows service with the InstallUtil command or just start the application and select the install choice.
###Printscreens
- The app sometimes crashes due to invalid responses in POGOLib
###Example configuration (settings.json)
{
"MapURLFormat": "http://maps.google.com/?q={0},{1}",
"ImageURLFormat": "http://some.site.com/pokemon_images/{0}.png", - ex: http://some.site.com/pokemon_images/pidgey.png
"Instances": [
{
"Name": "Name of the instance", - only to keep instances apart
"LoginProvider": "GoogleAuth", - or PokemonTrainerClub
"Username": "example", - account username, works with example@gmail.com
"Password": "superSecretPassword1!", - account password
"ProcessNearbyPokemon": true, - if notification about nearby pokemon should be sent to slack
"ProcessGyms": true, - if notification about gyms should be sent to slack
"IgnoreGymUnderAttack": true, - ignores the "Gym Under Attack" messages, while still getting messages about a gym changes owner
"SlackWebHookURL": "https://hooks.slack.com/services/[randomletts]", - the slack webhook url to send messages to
"SlackChannel": "#pokemongo", - name of the slack channel
"SlackBotName": "Pokemon GO Scanner", - name of the bot in slack
"HomePosition": { - Your home position (or office?) to get the distance to the spawned pokemons
"Latitude": 40.766844,
"Longitude": -73.979166
},
"WalkingPoints": [ - walking points, will run in a loop like 1,2,3,1,2,3
{
"Latitude": 40.766844,
"Longitude": -73.979166
},
{
"Latitude": 40.767169,
"Longitude": -73.979928
},
{
"Latitude": 40.767169,
"Longitude": -73.979938
}
]
}
]
}