-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add heartbeat #47
Comments
What does it do actually ? :) |
I'm not 100%, but typically a heartbeat is used to keep a session alive. So if you signed in, and didn't have any additional requests within a certain time period, the server would sign kill the session. A heartbeat is typically a special endpoint that is called to tell the server you are still there and not to kill the session. But I'm just making an assumption on the behavior in this specific case based on the naming. Perhaps @leegao has more thoughts. |
Actually, the method is doing the complete get_map_object request with some additional stuff. The additional stuff seems to be the heartbeat, also described here: https://www.reddit.com/r/pokemongodev/comments/4tn3lm/the_heartbeats/ I will check it :) |
the heartbeat is the same thing as get_map_objects request AFAIK .... just people called it heartbeat... |
Some of the downstream projects include a heartbeat function that would be great to find a way to pull it into this upstream.
For example: https://github.com/leegao/pokemongo-api-demo/blob/simulation/main.py#L198
The text was updated successfully, but these errors were encountered: