URGENTLY NEED A HELP PLEASE! i JUST NEED TO KNOW THE ID FOR THEUNIVERSITY OF COLUMBIA! PLEASE TELL ME THE EXACT ID!!!
HERE IS THE ASSIGNMENT ITSELF:
Calling a JSON API
In this assignment you will write a Python program somewhatsimilar to http://www.py4e.com/code3/geojson.py. The program willprompt for a location, contact a web service and retrieve JSON forthe web service and parse that data, and retrieve the firstplace_id from the JSON. A place ID is a textualidentifier that uniquely identifies a place as within GoogleMaps.
API End Points
To complete this assignment, you should use this API endpointthat has a static subset of the Google Data:
http://py4e-data.dr-chuck.net/json?
This API uses the same parameter (address) as the Google API.This API also has no rate limit so you can test as often as youlike. If you visit the URL with no parameters, you get “Noaddress…” response.
To call the API, you need to provide the address that you arerequesting as the address= parameter that isproperly URL encoded using theurllib.parse.urlencode() function as shown inhttp://www.py4e.com/code3/geojson.py
Test Data / Sample Execution
You can test to see if your program is working with a locationof “South Federal University” which will have aplace_id of “ChIJNeHD4p-540AR2Q0_ZjwmKJ8”.
$ python3 solution.pyEnter location: South Federal UniversityRetrieving http://…Retrieved 2023 charactersPlace id ChIJNeHD4p-540AR2Q0_ZjwmKJ8
Turn In
Please run your program to find the place_idfor this location:
Universidad Nacional de Colombia
Make sure to enter the name and case exactly as above and enterthe place_id and your Python code below. Hint: Thefirst seven characters of the place_id are”ChIJO8F …”
Make sure to retreive the data from the URL specified above andnot the normal Google API. Your program shouldwork with the Google API – but the place_id maynot match for this assignment.
place_id:
WHAT IS THE PLACE ID FOR UNIVERSITY OF COLUMBIA?
PLEASE LET ME KNOW.
THANK YOU
Expert Answer
Answer to URGENTLY NEED A HELP PLEASE! i JUST NEED TO KNOW THE ID FOR THE UNIVERSITY OF COLUMBIA! PLEASE TELL ME THE EXACT ID!!! H…