Monocle
Monocle copied to clipboard
[Feature Request] When workers detect a gym changes hands, send notification.
I know gym data is already stored with info about the defenders, so encounters are already happening and being saved in the database. It would be helpful if, when a gym changes hands, information about the change were sent to notifications and/or webhooks. Similar scripts like RocketMaps already have this feature, and PokeAlarm is already set up to receive them.
Yes please and a report on each gym!
Im looking forward to this one, it'll make my keeping track of gym changes a whole lot easier :) I might give it a go, but it would most likely be a hack since Im not a python coder, but I see in the web.py console that it displays the new gym icon, so there is definitely a trigger of some sort when a change occurs.
Where are you seeing this gym data? I just checked the database, it is not in there. Only the basic info is stored: lat, long, team, prestige, king pokemon
@DavePlater Im just seeing when /gym_data is called that when a gym changes color then a new fort is loaded. So whenever a new fort image is loaded then it seems like that would be a good time to send a notification...
Oh I thought maybe you had found the data on all the defenders and I was looking for it.