For software development issues related to Meraki API. From a programmability perspective, the Meraki cloud platform provides several APIs which are referred as “Meraki API”. Networking and configuration questions should be asked on https://networkengineering.stackexchange.com/
Questions tagged [meraki-api]
25 questions
1
vote
1 answer
how to convert a for loop to a dictionary comprehension
I'm trying to convert a dictionary-update method to dictionary comprehension.
for networkId in vlan_networks:
vlan_network = dashboard.appliance.getNetworkApplianceVlans(networkId)
vlan_by_networkid.update(
{
…

Happiman
- 11
- 2
1
vote
1 answer
Push a python dataframe to Smartsheet using Smartsheet API
I have a python script where I'm trying to fetch data from meraki dashboard through its API. Now the data is stored in a dataframe which needs to be pushed to a Smartsheet using the Smartsheet API integration. I've tried searching the Smartsheet API…

Abhishek_2912
- 23
- 3
1
vote
0 answers
How to enable lost mode on devices managed my Meraki Dashboard using the API
this is my first post. I'm sorry if I miss something.
I am a developer tasked to create an automatic program that will enable lost mode on devices as well as ping them. The Meraki API is able to ping devices such as switches but not System Manager…

Redemption
- 21
- 1
1
vote
2 answers
Meraki API call get.organisation/uplinks find failed connections and translate networkid into a network name
I've been looking for a few weeks and nowhere have i found anything that could help me with this specific problem.
I got a large output from an API call (Meraki) i'm looking to extract certain features out of the list.
Task: read output from API…

Juriaan
- 13
- 5
1
vote
1 answer
Azure Data Factory Pagination for RFC 5988 compliant REST API (Meraki)
I'm trying to implement Azure Data Factory's Copy Activity to copy data from an API to our SQL Data Warehouse. I have set up the source & sinks correctly so that when I trigger the pipeline it pulls and loads the first load of data but I am…

user17192499
- 11
- 2
1
vote
1 answer
CSV loop through rows
Like most i am attempting to learn python to progress my career etc... as part of that we are looking at deploying Cisco Meraki at work. Due to the large number of networks that we will have it would be great to be able to deploy information from a…

Ryujin
- 23
- 3
0
votes
2 answers
Add error handling in Python API call for Meraki
I have this script to make an API call using the meraki python module to query a Meraki device.
I'm trying to add some error handling in the code so that if the API call comes back with an error code, it will do something else. I cannot seem to…

Jonathan
- 3
- 1
0
votes
0 answers
Does support Zabbix Meraki or Meraki MR56 Template in Zabbix 3.0.x?
I'm having trouble uploading the customized template to Zabbix 3.0.
Does support Zabbix Meraki or Meraki MR56 Template in Zabbix 3.0.x?
If not, could you share the link or related blog.It's needed for report to my supervisor.
Thank you for your…

KMohsoe
- 1
- 1
0
votes
1 answer
How to fix Python PIP update failing
I am trying to install and use python on Windows 11 for purposes of Meraki API calls. I have installed Python version 3.11 and am now trying to run
pip install --upgrade requests
pip install --upgrade meraki
but these command return the following…

adrian
- 1
- 1
0
votes
0 answers
Meraki group policy deployment using API via Ansible uri module
I am trying to create a Meraki group policy via API using Ansible. When running the ansible-playbook, I get "New group policies must have a name" error message. Name is added in the json files.
Can you please check the json and playbook files and…

kuch lane
- 1
- 1
0
votes
1 answer
TypeError: '>=' not supported between instances of 'NoneType' and 'int' with Meraki API Request
I am trying to fix this from happening on my output of my VPN Failover script, in my function that scans the API for network health stats it seems like sometimes I get a None response from the API so it makes this function fail. How could I edit…

BRPMelo
- 1
0
votes
1 answer
Meraki API - Redirect stdout, stderr to websocket or file
I'm using a Flask route to call the Meraky python library and trying to redirect the stdout and stderr of each API call to a websocket or eventually a log file, here the code I'm using:
import meraki
from contextlib import redirect_stdout,…

cyberdevnet
- 19
- 4
0
votes
3 answers
Build dictionary from JSON and export it to Pandas
I am trying to build a script that pulls offline endpoints from the dictionary below:
[
{
"name": "My AP",
"serial": "Q234-ABCD-5678",
"mac": "00:11:22:33:44:55",
"status": "online",
"lanIp": "1.2.3.4",
…

moehawk__
- 1
- 1
0
votes
1 answer
Access a list nested inside a dictionary value
I have the following Meraki API reply for a GET request
[
{
"networkId": "N_12345",
"serial": "Q2AB-CDEF-GHIJ",
"uplink": "wan1",
"ip": "8.8.8.8",
"timeSeries": [
{
"ts":…

moehawk__
- 1
- 1
0
votes
1 answer
GET Request only accepts 1 input
Network_Devices = dashboard.networks.getNetworkDevices('xxx')
I am working on GET Requests with the Cisco Meraki API and Module in Python. The function above accepts only one 'input' ('xxx') above. Also, it will not accept a list.
Is there any way…