{"id":2705,"date":"2020-11-14T13:00:00","date_gmt":"2020-11-14T13:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2705"},"modified":"2020-10-27T17:12:00","modified_gmt":"2020-10-27T17:12:00","slug":"pokemon-go-api-go-battle-league-rewards-api","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2705\/pokemon-go-api-go-battle-league-rewards-api\/","title":{"rendered":"Pokemon Go API &#8211; Go Battle League Rewards API"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2709\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2705\/pokemon-go-api-go-battle-league-rewards-api\/pogo_api_header_gobattle_league_rewards\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?fit=800%2C300&amp;ssl=1\" data-orig-size=\"800,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pogo_api_header_gobattle_league_rewards\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2709\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_gobattle_league_rewards.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>This post talks about the latest API I have added to PoGoAPI.net, the Go Battle League Rewards API.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the Go Battle League Rewards API<\/h2>\n\n\n\n<p>When battling in the Go Battle League you are asked to complete a number of matches. After each match, if successful, you can claim the next reward you are owed.<\/p>\n\n\n\n<p>Depending on the rank you are currently in, and whether you are on the free or premium track you will receive a different reward.<\/p>\n\n\n\n<p>The current maximum rewards you can claim are five which is possible if you win all five matches. However it appears that the game master has up to 8 rewards currently possible although the last three are not claimable due to the maximum number of 5 matches.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting the Go Battle League Rewards API data<\/h2>\n\n\n\n<p>This API returns currently available rewards for completing a set of battles in a Go Battle League for both free and premium tracks.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">GET&nbsp;<code>\/api\/v1\/levelup_rewards.json<\/code><\/h3>\n\n\n\n<p>This API is a dict where the keys are the Go Battle rank and the values are the different tracks. The track values are a dict with the keys free, premium and rank. Rank is the rank that the tracks relate to, free and premium are an array of awards that you will receive by winning battles.<\/p>\n\n\n\n<p>For each track there are a few different types of objects which relate to the type of reward. Each object has a type field, which relates to the reward type it will give. Each type field will have different keys based on the information.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>type:stardust<\/code> &#8211; If type is set to stardust there will be another key &#8220;amount&#8221; which has the amount of stardust received<\/li><li><code>type:item_from_pool<\/code> &#8211; If type is set to item_from_pool there will be no other keys. A random item will be selected from the pool of possible items.<\/li><li><code>type:pokemon_from_pool<\/code> &#8211; If type is set to pokemon_from_pool there will be no other keys. A Pokemon is chosen from the pool of available Pokemon which will either be a random Pokemon or a guaranteed one.<\/li><li><code>type:item<\/code> &#8211; If type is set to item there will be two more keys, item_name and amount. You will always be given the fixed number of the named item.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Example data<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&#x5B;\n    {\n    &quot;1&quot;: {\n        &quot;free&quot;: &#x5B;\n            { &quot;amount&quot;: 300, &quot;type&quot;: &quot;stardust&quot; },\n            { &quot;type&quot;: &quot;item_from_pool&quot; },\n            { &quot;type&quot;: &quot;pokemon_from_pool&quot; },\n            { &quot;amount&quot;: 3, &quot;item_name&quot;: &quot;Rare Candy&quot;, &quot;type&quot;: &quot;item&quot; },\n            { &quot;amount&quot;: 600, &quot;type&quot;: &quot;stardust&quot; },\n            { &quot;amount&quot;: 1000, &quot;type&quot;: &quot;stardust&quot; },\n            { &quot;amount&quot;: 1000, &quot;type&quot;: &quot;stardust&quot; },\n            { &quot;amount&quot;: 1000, &quot;type&quot;: &quot;stardust&quot; }\n        ],\n        &quot;premium&quot;: &#x5B; ... ],\n        &quot;rank&quot;: 1\n    }, ...\n]\n<\/pre><\/div>\n\n\n<p id=\"block-c7ab1e16-3ce1-4b17-8319-614af6909736\">The full documentation&nbsp;is available on the&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/pogoapi.net\/documentation\/\" target=\"_blank\">PoGoAPI.net documentation&nbsp;page<\/a>.<\/p>\n\n\n\n<p id=\"block-4f57b0fd-e581-47c8-8062-60b8863f3393\">If you have any questions about this API or suggestions for other API\u2019s contact me here below or on Twitter!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post talks about the latest API I have added to PoGoAPI.net, the Go Battle League Rewards API. What is the Go Battle League Rewards API When battling in the Go Battle League you are asked to complete a number of matches. After each match, if successful, you can claim the next reward you are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2708,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Today I talk about the latest #PokemonGo #API on PoGoAPI.net the Go Battle League Rewards API","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[98],"tags":[226,227,224,223,218],"class_list":["post-2705","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-api","tag-open-data","tag-pogoapi","tag-pokemon","tag-pokemon-go"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_gobattle_league_rewards_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-HD","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2720,"url":"https:\/\/chewett.co.uk\/blog\/2720\/pokemon-go-api-go-battle-rankings-settings-api\/","url_meta":{"origin":2705,"position":0},"title":"Pokemon Go API &#8211; Go Battle Rankings Settings API","author":"Chewett","date":"January 9, 2021","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Mega Evolution Settings API. What are the Go Battle Rankings Settings API In Pokemon Go you are able to fight in the Battle League against other trainers. Here you battle in sets of five matches to receive\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_go_battle_rankings_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2666,"url":"https:\/\/chewett.co.uk\/blog\/2666\/pokemon-go-api-level-up-api\/","url_meta":{"origin":2705,"position":1},"title":"Pokemon Go API &#8211; Level Up API","author":"Chewett","date":"October 17, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Level Up API. What is the Level Up API Every time you reach the next level in Pokemon Go you are given a small reward package for doing so. In addition to this, you potentially unlock new\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_level_up_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_level_up_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_level_up_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_level_up_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_level_up_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2461,"url":"https:\/\/chewett.co.uk\/blog\/2461\/pokemon-go-api-pvp-exclusive-pokemon-list\/","url_meta":{"origin":2705,"position":2},"title":"Pokemon Go API \u2013 PVP Exclusive Pokemon List","author":"Chewett","date":"May 23, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the PVP Exclusive Pokemon list. What are PVP Exclusive Pokemon Some Pokemon and their evolutions are only available in PVP. Currently to get these Pokemon you need to win a number of battles in the PVP league with\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/05\/pogo_api_posticon_pvpexclusive.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/05\/pogo_api_posticon_pvpexclusive.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/05\/pogo_api_posticon_pvpexclusive.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/05\/pogo_api_posticon_pvpexclusive.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2623,"url":"https:\/\/chewett.co.uk\/blog\/2623\/pokemon-go-api-research-task-exclusive-pokemon-api\/","url_meta":{"origin":2705,"position":3},"title":"Pokemon Go API &#8211; Research Task Exclusive Pokemon API","author":"Chewett","date":"September 19, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Research Task Exclusive Pokemon API. What is the Research Task Exclusive Pokemon API Some Pokemon and their evolutions are only available by completing research tasks. To get these you will have to find the research task by\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/pogo_api_raid_research_exclusive_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/pogo_api_raid_research_exclusive_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/pogo_api_raid_research_exclusive_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/pogo_api_raid_research_exclusive_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/pogo_api_raid_research_exclusive_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2715,"url":"https:\/\/chewett.co.uk\/blog\/2715\/pokemon-go-api-mega-evolution-settings-api\/","url_meta":{"origin":2705,"position":4},"title":"Pokemon Go API &#8211; Mega Evolution Settings API","author":"Chewett","date":"December 12, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Mega Evolution Settings API. What is the Mega Evolution Settings API For Pokemon that can Mega Evolve there are a number of game settings that are applied to them. This API lets you obtain the current Mega\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_mega_evolution_settings_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2670,"url":"https:\/\/chewett.co.uk\/blog\/2670\/pokemon-go-api-badges-api\/","url_meta":{"origin":2705,"position":5},"title":"Pokemon Go API &#8211; Badges API","author":"Chewett","date":"October 31, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Badges API. What is the Badges API While playing Pokemon Go, certain actions are tracked and your progress is logged in the form of badges. When you reach certain milestones you are given a badge to mark\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/chewett.co.uk\/blog\/category\/software\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2705"}],"version-history":[{"count":1,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2705\/revisions"}],"predecessor-version":[{"id":2710,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2705\/revisions\/2710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2708"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}