Automated Programs to run APIs

tjh188
Here to help

Automated Programs to run APIs

Is there a good program that automatically takes the Meraki API library if you input your Network ID and API Key and then you can choose which scripts to run based on your own network?  I am not familiar with code and need a way to automate it.

6 Replies 6
sungod
Kind of a big deal

Depends on the platform you are planning to use.

 

On linux, we use cron to kick off a script that the runs other scripts (per customer) that decide what to do next, acquire, re-run, analyse, report, housekeeping etc. It's rather complex as it operates across multiple orchestrators and end-customers, but it's cron that does the basic scheduling.

 

At most basic, you could create a shell script 'wrapper' to set the parameters (IDs, keys, start/stop times, destination files etc. etc.) for the python/whatever script(s) do the actual API work, then add a crontab entry to run the script at the times you want.

 

PhilipDAth
Kind of a big deal
Kind of a big deal

Check out Postman.

https://www.postman.com/ 

 

Check out the postman getting started guide,

https://developer.cisco.com/meraki/build/meraki-postman-collection-getting-started/ 

 

 

Personally, I would do a free "getting started" online course in Python.  It's going to be limiting without some basic scripting skills.

JasonM
Meraki Employee
Meraki Employee

One option that I like is the Google Sheets integration. It lets you run API generated reports with a menu selection.

 

https://workspace.google.com/marketplace/app/meraki_tools/11340767263

Thomas_Sterber
Meraki Employee
Meraki Employee

Check the Meraki-API Toolbox, which runs on Node-Red.
https://drive.google.com/drive/folders/10IprQtCJnRpxL9gWPU8yaljzZtZbcyZ_?usp=sharing

 

PhilipDAth
Kind of a big deal
Kind of a big deal

You should put that on GitHub Thomas.  🙂

david_n_m_bond
Building a reputation

@tjh188 - this is where we may be able to help!

 

We author the Meraki.Api nuget package for the purpose of Meraki automation.  See https://www.nuget.org/packages/Meraki.Api/ if you are familiar with .NET development.

 

If not, but you have a modest budget, we can do the required development for you.

Author, https://www.nuget.org/packages/Meraki.Api/
Get notified when there are additional replies to this discussion.