I have tried to access datasets from NOAA, for a project. I have been able to download the json file but I do not know how to open the desired file I have printed out.
url = "http://www.ncdc.noaa.gov/cdo-web/api/v2/data?datasetid=GHCNDMS"
headers = {"token":"my token"}
response = json.loads(requests.get(url, "dataset", headers = headers).text)
response = response['results']
response = response[0]
print(response)
This is my output:
{'uid': 'gov.noaa.ncdc:C00861', 'mindate': '1763-01-01', 'maxdate': '2018-04-22', 'name': 'Daily Summaries', 'datacoverage': 1, 'id': 'GHCND'}
How can I access the data inside this data set as I wish to turn them into a Pandas DataFrame