import requests # make a request to the server response = requests.get(URI) # parse the response (only works for JSON format) data = response.json()