{"id":2670,"date":"2020-10-31T13:00:00","date_gmt":"2020-10-31T13:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2670"},"modified":"2020-10-23T16:48:03","modified_gmt":"2020-10-23T15:48:03","slug":"pokemon-go-api-badges-api","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2670\/pokemon-go-api-badges-api\/","title":{"rendered":"Pokemon Go API &#8211; Badges 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=\"2671\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2670\/pokemon-go-api-badges-api\/pogo_api_header_badges\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.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_badges\" 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_badges.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_badges.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2671\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/10\/pogo_api_header_badges.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 Badges API.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">What is the Badges API<\/h2>\n\n\n\n<p>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 your achievement.<\/p>\n\n\n\n<p>Standard badges typically have three levels, bronze, silver, and gold. These badges are displayed in your player profile and can be used to judge your progress.<\/p>\n\n\n\n<p>In addition to tracking progress in various statistics, badges are also used to track participation at certain Pokemon Go Special Weekends and events.<\/p>\n\n\n\n<p>These badges are called &#8220;event badges&#8221; and given for participation in the event. This typically requires purchasing a ticket and physically going to the event location.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting the Badge data<\/h2>\n\n\n\n<p>This API returns the currently available badges in the game and details what is needed to achieve them for non-event badges.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">GET <code>\/api\/v1\/badges.json<\/code><\/h3>\n\n\n\n<p>Returns a JSON array of objects. Each object will have the the following keys:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>name<\/code> &#8211; Name of the Badge<\/li><li><code>description<\/code> &#8211; Description of the badge<\/li><li><code>event_badge<\/code> &#8211; True if the badge is an event badge, false if it is a badge that can be unlocked via normal play<\/li><li><code>rank<\/code> &#8211; An integer representing how important the badge is. The lower the number the higher the badge will be displayed in Pokemon Go<\/li><li><code>targets<\/code> (optional) &#8211; A list of integers representing the value that you must reach in the badges statistic to gain each level<\/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;description&quot;: &quot;South Korea, July 29, 2018&quot;,\n        &quot;event_badge&quot;: true,\n        &quot;name&quot;: &quot;Pokemon GO Special Weekend, July 29, 2018&quot;,\n        &quot;rank&quot;: 2\n    },\n    {\n        &quot;description&quot;: &quot;Win {0} Gym battles.&quot;,\n        &quot;event_badge&quot;: false,\n        &quot;name&quot;: &quot;Battle Girl&quot;,\n        &quot;rank&quot;: 4,\n        &quot;targets&quot;: &#x5B;\n            10,\n            100,\n            1000\n        ]\n    }, ...\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 Badges API.<\/p>\n","protected":false},"author":1,"featured_media":2672,"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 a recently added API, the #PokemonGo Badges #API at PoGoAPI.net","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-2670","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_badges_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-H4","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2921,"url":"https:\/\/chewett.co.uk\/blog\/2921\/pokemon-go-api-time-limited-shiny-pokemon-api\/","url_meta":{"origin":2670,"position":0},"title":"Pokemon Go API &#8211; Time Limited Shiny Pokemon API","author":"Chewett","date":"May 22, 2021","format":false,"excerpt":"This post talks about the newest Pokemon Go API, the Time Limited Shiny Pokemon API on PoGoAPI.net. What are time limited shiny Pokemon? In Pokemon Go some Pokemon can only be found as shiny during special events or times of the year. Pokemon Go will announce when these are available\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\/2021\/05\/pogoapi_timelimited_shiny_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\/2021\/05\/pogoapi_timelimited_shiny_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/05\/pogoapi_timelimited_shiny_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/05\/pogoapi_timelimited_shiny_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/05\/pogoapi_timelimited_shiny_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1801,"url":"https:\/\/chewett.co.uk\/blog\/1801\/pokemon-go-api-weather-boosts-api\/","url_meta":{"origin":2670,"position":1},"title":"Pokemon Go API \u2013 Weather Boosts API","author":"Chewett","date":"January 9, 2019","format":false,"excerpt":"This post talks about the newest Pokemon Go API, the Weather Boosts API at\u00a0pogoapi.net. Weather Boosts In Pokemon Go While playing Pokemon Go the weather will cause a number of effects, some of which may be beneficial. One of the changes is that depending on the weather certain Pokemon may\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\/2019\/01\/pogo_api_weather_boosts.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\/2019\/01\/pogo_api_weather_boosts.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/pogo_api_weather_boosts.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/pogo_api_weather_boosts.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2581,"url":"https:\/\/chewett.co.uk\/blog\/2581\/pokemon-go-api-pokemon-evolutions-api\/","url_meta":{"origin":2670,"position":2},"title":"Pokemon Go API &#8211; Pokemon Evolutions API","author":"Chewett","date":"July 25, 2020","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Pokemon Evolutions API. What the Pokemon Evolutions API can be used for Some Pokemon can evolve into a stronger form by feeding them candy or meeting certain conditions. Once these conditions have been met you can press\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\/07\/pogo_api_evolution_posticon.jpg?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\/07\/pogo_api_evolution_posticon.jpg?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_evolution_posticon.jpg?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_evolution_posticon.jpg?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/07\/pogo_api_evolution_posticon.jpg?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1759,"url":"https:\/\/chewett.co.uk\/blog\/1759\/pokemon-go-api-buddy-candy-distances\/","url_meta":{"origin":2670,"position":3},"title":"Pokemon Go API &#8211; Buddy Candy Distances","author":"Chewett","date":"November 28, 2018","format":false,"excerpt":"This post talks about the newest Pokemon Go API, the Buddy Candy Distances API at\u00a0pogoapi.net. Pokemon Buddy Candy Distances When you make a Pokemon your buddy, after a certain distance walked with them you will get 1 candy from them. This distance depends on the specific Pokemon. The current buddy\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\/2018\/11\/pogo_api_buddy_distances.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\/2018\/11\/pogo_api_buddy_distances.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/11\/pogo_api_buddy_distances.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/11\/pogo_api_buddy_distances.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2199,"url":"https:\/\/chewett.co.uk\/blog\/2199\/pokemon-go-api-pokemon-generations-api\/","url_meta":{"origin":2670,"position":4},"title":"Pokemon Go API \u2013 Pokemon Generations API","author":"Chewett","date":"May 15, 2019","format":false,"excerpt":"This post talks about the newest Pokemon Go API, the Pokemon Generations API at\u00a0pogoapi.net. Using the Pokemon Generations API Each Pokemon has an associated generation that it was originally released in. This generation relates to the generation in the original video games. Currently Niantic are progressing through the generations releasing\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\/2019\/05\/pogo_api_generations.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\/2019\/05\/pogo_api_generations.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/05\/pogo_api_generations.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/05\/pogo_api_generations.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2804,"url":"https:\/\/chewett.co.uk\/blog\/2804\/pokemon-go-api-baby-pokemon-api\/","url_meta":{"origin":2670,"position":5},"title":"Pokemon Go API &#8211; Baby Pokemon API","author":"Chewett","date":"February 13, 2021","format":false,"excerpt":"This post talks about the latest API I have added to PoGoAPI.net, the Baby Pokemon API. What are Baby Pokemon Some Pokemon are only available from eggs and are typically smaller versions of \"grown up\" Pokemon. These are called baby Pokemon and the only way to get them is typically\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\/2021\/02\/pogoapi_baby_pokemon_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\/2021\/02\/pogoapi_baby_pokemon_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pogoapi_baby_pokemon_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pogoapi_baby_pokemon_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/02\/pogoapi_baby_pokemon_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\/2670","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=2670"}],"version-history":[{"count":4,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2670\/revisions"}],"predecessor-version":[{"id":2713,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2670\/revisions\/2713"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2672"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}