Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timwah/pokeslack
Get Slack messages posted to a #pokealert channel about rare Pokemon close to you
https://github.com/timwah/pokeslack
Last synced: about 2 months ago
JSON representation
Get Slack messages posted to a #pokealert channel about rare Pokemon close to you
- Host: GitHub
- URL: https://github.com/timwah/pokeslack
- Owner: timwah
- License: mit
- Created: 2016-07-22T20:23:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-10T05:41:57.000Z (over 8 years ago)
- Last Synced: 2024-08-04T00:11:02.156Z (5 months ago)
- Language: Python
- Homepage:
- Size: 276 KB
- Stars: 38
- Watchers: 10
- Forks: 29
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pokemon - PokeSlack - Alerts you of nearby Pokémon. (Development Projects)
README
# PokéSlack
Get Slack messages posted to a #pokealert channel for rare Pokemon close to you. Get walking directions from your search position and the time it expires.![PokeSlack](cover.png?raw=true)
## Create your [Slack Webhook](https://api.slack.com/incoming-webhooks)
Create a new webhook for a channel named #pokealerts
https://my.slack.com/services/new/incoming-webhook/
And use the web hook url as the SLACK_WEBHOOK_URL in your .env / Heroku config.## Configuration
Create an .env file at the project root with the following content filled out. Do not use your main PokemonGo account information.AUTH_SERVICE=google/ptc
[email protected]
PASSWORD=password
LOCATION_NAME=Some location, USA
RARITY_LIMIT=3
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/XXX
DISTANCE_UNIT=meters/miles
NUM_STEPS=5### Pokemon Data
This project contains a file `pokedata.csv` where you can customize the assigned rarity to each Pokemon.
Receive notifications for any Pokemon with rarity at `RARITY_LIMIT` or higher and at a distance walkable before the expiration time.## Running
Locally:
pip install -r requirements.txt
python main.pyUsing Heroku:
heroku local
## Deploying to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)## Ideas for improvement
Check out the [wiki](https://github.com/timwah/pokeslack/wiki) for a roadmap## Credits
This project builds on existing PokemonGo APIs and integrations:
https://github.com/tejado/pgoapi
https://github.com/AHAAAAAAA/PokemonGo-Map
[@mastermindmatt](https://github.com/mastermindmatt) for the rarity data in pokedata.csv## Donations
[Donate Bitcoins](https://www.coinbase.com/checkouts/2dba5a7fe26b5073e47c50f5d666469b)