{"action":"opened","issue":{"url":"https://api.github.com/repos/realpython/support/issues/249","labels_url":"https://api.github.com/repos/realpython/support/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/realpython/support/issues/249/comments","events_url":"https://api.github.com/repos/realpython/support/issues/249/events","html_url":"https://github.com/realpython/support/issues/249","id":101236195,"number":249,"title":"Calling Google API from the python shell,  label:question","user":{"login":"ni8mr","id":6823100,"avatar_url":"https://avatars.githubusercontent.com/u/6823100?v=3","gravatar_id":"","url":"https://api.github.com/users/ni8mr","html_url":"https://github.com/ni8mr","followers_url":"https://api.github.com/users/ni8mr/followers","following_url":"https://api.github.com/users/ni8mr/following{/other_user}","gists_url":"https://api.github.com/users/ni8mr/gists{/gist_id}","starred_url":"https://api.github.com/users/ni8mr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ni8mr/subscriptions","organizations_url":"https://api.github.com/users/ni8mr/orgs","repos_url":"https://api.github.com/users/ni8mr/repos","events_url":"https://api.github.com/users/ni8mr/events{/privacy}","received_events_url":"https://api.github.com/users/ni8mr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-16T05:51:18Z","updated_at":"2015-08-16T05:51:18Z","closed_at":null,"body":" Hello, at the 396th page of Real Python-part 2 book, it has been said to call the API (written in the book) from the Python shell. I have tried the **requests** module.\r\n\r\n    import requests\r\n    ouput = requests.get(\"http://maps.googleapis.com/maps/api/directions/jsonorigin=Central+\r\n         +Park&destination=Times+Square&sensor=false&mode=walking\")\r\n\r\nBut i am only able to catch the response-\r\n\r\n    <Response [200]>\r\n\r\nHow can i catch the JSON file to extract the actual driving directions?\r\n\r\n    "}}