Get Python Object: Error converting Python object

Hi All,

I am not able to get the JSON Data after running the Python Script.

Script:

import urllib.request, json
def getJSONData():
with urllib.request.urlopen(“https://npiregistry.cms.hhs.gov/api/?number=1801964333&pretty=on&version=2.0”) as url:
data = json.loads(url.read().decode())
return data

Any kind of insight is highly appreciated

@KarthikByggari

JSONData_Uing_Python.zip (19.0 KB)

Thanks
Veeresh