The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About Maria97
Maria97

Maria97

New here

Member since Jun 18, 2020

‎06-18-2020

Community Record

2
Posts
0
Kudos
0
Solutions
Latest Contributions by Maria97
  • Topics Maria97 has Participated In
  • Latest Contributions by Maria97

Network Device Loss and Latency History - response is empty []

by Maria97 in Developers & APIs
‎06-18-2020 12:25 PM
‎06-18-2020 12:25 PM
I am very new to the Meraki API, and am trying to get the latency for a specific device, but when I ran the request it returns an empty list, even though the response is 200. I'm not sure what I am doing wrong. Here's my code:    headers = {          'X-Cisco-Meraki-API-Key' : MERAKI_API_KEY,          'Content-Type' :  'application/json' ,     }   r = requests.get( f "https://api.meraki.com/api/v0/networks/ { net_id } /devices/ { serial_num } /lossAndLatencyHistory?uplink=wan1&ip=1.2.3.4" , h eaders =headers)   print(r)   print(r.text) ------------- OUTPUT: <Response [200]> []   network id and serial are  stored in those variables, and the ip address is different.    I appreciate any help.         ... View more
Labels:
  • Labels:
  • Dashboard API

Re: 'Network Device Loss and Latency History' inconsistency

by Maria97 in Developers & APIs
‎06-18-2020 12:11 PM
‎06-18-2020 12:11 PM
This is happening to me as well, but I can never make it work. Were you able to figure it out? Thanks. ... View more
Powered by Khoros
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Privacy Settings
  • Terms of Use
© 2023 Meraki