Global daily spot data

Comments

test

test

import http.client

import http.client

conn = http.client.HTTPSConnection("api-metoffice.apiconnect.ibmcloud.com")

headers = {
    'x-ibm-client-id': "REPLACE_THIS_KEY",
    'x-ibm-client-secret': "REPLACE_THIS_KEY",
    'accept': "application/json"
    }

conn.request("GET", "/metoffice/production/v0/forecasts/point/daily?excludeParameterMetadata=REPLACE_THIS_VALUE&includeLocationName=REPLACE_THIS_VALUE&latitude=REPLACE_THIS_VALUE&longitude=REPLACE_THIS_VALUE", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))