MAD icon indicating copy to clipboard operation
MAD copied to clipboard

Update current weather in gym properties

Open Pontiky opened this issue 4 years ago • 2 comments

The aim of this PR is to get the current weather of the S2 cell where the gym is located to update its weather property.

This change allows webhook tools such PokeAlarm to finally receive the weather ID of the gym when a raid is starting to determine if the pokemon is boosted or not.

Pontiky avatar Feb 12 '22 10:02 Pontiky

Poracle remembers the weather rather than needing an extra query. Is this an option?

jfberry avatar Apr 21 '22 05:04 jfberry

Poracle remembers the weather rather than needing an extra query. Is this an option?

PokeAlarm could also use cached informations like Poracle soon, mostly to determine the weather. Therefore, this change wouldn't be necessary for PA and Poracle side but as it fixes the weather not updating in gym properties and not sending to webhooks, it's still good to implement.

Pontiky avatar Apr 27 '22 10:04 Pontiky