{"id":724,"date":"2020-11-09T05:00:47","date_gmt":"2020-11-09T05:00:47","guid":{"rendered":"http:\/\/tuxlabs.com\/?p=724"},"modified":"2021-06-03T21:58:34","modified_gmt":"2021-06-03T21:58:34","slug":"parsing-json-using-python-requests","status":"publish","type":"post","link":"https:\/\/tuxlabs.com\/?p=724","title":{"rendered":"Parsing JSON using Python Requests"},"content":{"rendered":"\n<p>In the video below I  walk through how to parse JSON data from a REST API using Python and the Requests library and json standard library for Python. I also drop a little nugget on duck typing. Hope you enjoy!<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Parsing JSON Using Python Requests\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/FCSFtkKYdhg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<a href=\"https:\/\/tuxlabs.com\/?p=724\" rel=\"bookmark\" title=\"Permalink to Parsing JSON using Python Requests\"><p>In the video below I walk through how to parse JSON data from a REST API using Python and the Requests library and json standard library for Python. I also drop a little nugget on duck typing. Hope you enjoy!<\/p>\n<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8,9],"tags":[191,129,55,190,192],"class_list":{"0":"post-724","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-howtos","7":"category-programming","8":"category-python","9":"tag-duck-typing","10":"tag-json","11":"tag-python","12":"tag-requests","13":"tag-rest-api","14":"h-entry","15":"hentry"},"_links":{"self":[{"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=724"}],"version-history":[{"count":3,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":776,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions\/776"}],"wp:attachment":[{"href":"https:\/\/tuxlabs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tuxlabs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}