Skip to content

Slack bot to keep track of pokemons around the house or office

Notifications You must be signed in to change notification settings

trembon/PoGoSlackBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

PoGoSlackBot

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

Spawns

Gyms

Known bugs

  • 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
        }
      ]
    }
  ]
}

About

Slack bot to keep track of pokemons around the house or office

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages