I am using Python 3.8.5 Just retriving json fron API.
Python 3.8.5
url = "https://theapi.com/api" uh = urllib.request.urlopen(url) data = uh.read()