import request library in python code example Example: python requests Url = "https://" r = requests.get( Url ) data = r.json()