HUT 8 Techtorial – DevNet Associate DEVASC 200-901: Parsing JSON Data with Python 3 – Part II

In this comprehensive and exhaustive Hut 8 ‘techtorial’ we take a deep dive look at how to use the Python programming language to parse JavaScript Object Notation (JSON) data. In Part II we will now dig into the JSON data that has been returned to us and look at how we access the JSON “info” object (which looks like a Python dictionary and we access the data just like we would a Python dictionary!) and we pull the status code and MapQuest copyright information from that JSON object using the Python programming language! Pretty cool stuff!!! We also add in the Python code to check the return status of our API call and make our program interactive by prompting the user for the starting and ending locations! Enjoy!