Skip to content

Python report that will post to discord

License

Notifications You must be signed in to change notification settings

xxsytriskxx/reports

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Field Research Report

Discord Python Report that will post Research for Pokemon Go. For use with MAD Scanner.

DO NOT INSTALL ON SAME ENVIRONMENT AS SCANNER.

Will post all Pokemon encounters, Stardust over 1000 and Rare Items.

Please edit the config.ini file

[CONFIG]
DiscordQ=WEBHOOK_URL_FIELD_RESEARCH
DiscordR=WEBHOOK_URL_ROCKET_LEADERS
Author=POSTING_AUTHOR_NAME
Areaname=NAME_OF_TEMP_AREA_FILE

#Coordinates string of area. First and last coordinate set must be equal. Format:Latitute and longitude separated by spaces and coordinate pairs separated by , symbol
Area = COORDINATES_OF_AREA 38.95971  -77.10273, 38.95971  -76.92077, 38.84281 -76.91545, 38.84268 -77.08299,38.95971  -77.10273

[DATABASE]
MAD_db_host=HOST_ADRESS_HERE
db_name=DB_NAME_HERE
db_user=DB_USER_HERE
db_pass=DB_PASS_HERE

Optional Arguments:

Running without any arguments will run the report with static images and no file/stops checks using the config.ini file information.

-c, --check will check the area for the amount of pokestops vs amount of research tasks before posting and perform a filecheck to see if a report has already ran today. CRON use for running every X amount of minutes to autopost after all stops have scanned for research. Do not use with -s.

-a, --area allows to pass optional area, webhook, areanames or author. If this is not used the config.ini defaults will be used.

-g, --gif will load Animated Gif Sprites for pokemon vs the standard images.

-s, --safe Will perform a file check only to see if a report has already ran today. CRON Use as a fail safe run at a specific time if some stops haven’t reported research. Do no use with -c.

Example Pokemon, Items and Stradust reports:

Iteam_pokemon_example

Iteam_item_example

Iteam_stardust_example

Rocket Report

Used to show where Team rocket leaders are located, Top Link to Counters guide for each leader as well.

Optional Arguments:

Running without any arguments will run the report with static images and no file/stops checks using the config.ini file information.

-a, --area allows to pass optional area, webhook, or author. If this is not used the config.ini defaults will be used.

Example report

Iteam_rocket_example

Requires the Python Modules below:

https://pypi.org/project/discord-webhook/ pip install discord-webhook

https://pypi.org/project/mysql-connector-python/ pip install mysql-connector-python

About

Python report that will post to discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%