{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2171","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2171/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2171/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2171/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2171","id":168552901,"number":2171,"title":"feat: request meta cell data once every 5 seconds (bypass Niantic throttling)","user":{"login":"matheussampaio","id":1020467,"avatar_url":"https://avatars.githubusercontent.com/u/1020467?v=3","gravatar_id":"","url":"https://api.github.com/users/matheussampaio","html_url":"https://github.com/matheussampaio","followers_url":"https://api.github.com/users/matheussampaio/followers","following_url":"https://api.github.com/users/matheussampaio/following{/other_user}","gists_url":"https://api.github.com/users/matheussampaio/gists{/gist_id}","starred_url":"https://api.github.com/users/matheussampaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheussampaio/subscriptions","organizations_url":"https://api.github.com/users/matheussampaio/orgs","repos_url":"https://api.github.com/users/matheussampaio/repos","events_url":"https://api.github.com/users/matheussampaio/events{/privacy}","received_events_url":"https://api.github.com/users/matheussampaio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/help%20to%20test%20please","name":"help to test please","color":"f9d0c4"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/second%20review%20required","name":"second review required","color":"d4c5f9"},{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/labels/waiting%20on%20changes","name":"waiting on changes","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-08-01T02:04:38Z","updated_at":"2016-08-01T17:42:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/pulls/2171","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2171","diff_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2171.diff","patch_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2171.patch"},"body":"Short Description: \r\nThis solve the Niantic \"scan for pokemon\" throttling without\r\nmaking the bot very slow.\r\n\r\nFixes:\r\n- Because we request meta cell data every tick, Niantic sometimes return an empty array for `catchable_pokemons` and `wild_pokemons`.\r\n- Because `catchable_pokemons` and `wild_pokemons` sometime is empty, we can't catch pokemons. :(\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/236652660","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/pull/2171#issuecomment-236652660","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2171","id":236652660,"user":{"login":"Abraxas000","id":997075,"avatar_url":"https://avatars.githubusercontent.com/u/997075?v=3","gravatar_id":"","url":"https://api.github.com/users/Abraxas000","html_url":"https://github.com/Abraxas000","followers_url":"https://api.github.com/users/Abraxas000/followers","following_url":"https://api.github.com/users/Abraxas000/following{/other_user}","gists_url":"https://api.github.com/users/Abraxas000/gists{/gist_id}","starred_url":"https://api.github.com/users/Abraxas000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abraxas000/subscriptions","organizations_url":"https://api.github.com/users/Abraxas000/orgs","repos_url":"https://api.github.com/users/Abraxas000/repos","events_url":"https://api.github.com/users/Abraxas000/events{/privacy}","received_events_url":"https://api.github.com/users/Abraxas000/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T17:42:43Z","updated_at":"2016-08-01T17:42:43Z","body":"This helps reduce the chance of throttling, but it still doesn't fix the issue of losing the cached fort data if Niantic responds with no fort data. Can we pull https://github.com/PokemonGoF/PokemonGo-Bot/pull/2241 to hold us over until you guys get a chance to add a cache system to the pgoapi?\r\n\r\nHaving the object groups cached separately would definitely be ideal, but losing the fort data seems to create a snow-ball effect that breaks several tasks and this would be an easy/quick band-aid for it."}}
{"actor":{"display_login":"Abraxas000"}}