Hi everyone, I m a french student and i ve a simple question about MT10 sensor.
I want use the endpoint : https://api.meraki.com/api/v1/organizations/******/sensor/readings/history
in my python script to have degrees informations and create dashboard.
When I made a browser request with this endpoint i ve JSON result, and nothing when i use my script (and no error in my terminal) I ve juste one blank line
But when I change the endpoint with another in this script i ve result
My script have made with postman and it is very simple.
All personal informations are good (Org ID, API key)
I try change the language of my script but it's the same I ve no result
Do you ve an idea ?
Thanks for your reply and your time 🙂
###########################################
import requests
import urllib3
urllib3.disable_warnings()
payload={}
headers = {
'X-Cisco-Meraki-API-Key': '*********************************',
}
response = requests.request("GET", url=url, headers=headers, verify=False)
print (response.text)
###########################################