any good videos or other material?

Capt_Caaaveman
Getting noticed

any good videos or other material?

I am trying to learn this, but I am so frustrated.  I dont know what questions to even ask anymore.

I'm reading but I just don't get it.  I was hoping a video might help, or some other sources.

 

I have a test Org set up with some of my MS390s, and have the Meraki Dashboard API downloaded in Postman.

I have no issue with running any of those.  

 

My two end goals right now are:

1. cycle specific ports.

2. disable unused ports if no traffic after X days

 

I have found

https://developer.cisco.com/meraki/api/cycle-device-switch-ports/

https://developer.cisco.com/meraki/api-v1/get-device-switch-ports-statuses/

how do you get those in postman?

 

I also found this

https://community.meraki.com/t5/Developers-APIs/Switchport-Status-call/m-p/72278

but no updates since 2020

 

I eventually want to expand on these to cycle ports if in a specific vlan (homegrown devices lose connectivity & is PoE)

and disable ports after x number of days and label port with the date and change its vlan.

 

 

 

 

 

 

 

6 Replies 6
PhilipDAth
Kind of a big deal
Kind of a big deal

Your long terms goals might be challenging to achieve in Postman.  Have you considered using Python instead?

Capt_Caaaveman
Getting noticed

So I need to abandon postman?

 

What do I need to do to run python?

alemabrahao
Kind of a big deal
Kind of a big deal

How to setup Python to connect to the Meraki Dashboard

 

https://www.youtube.com/watch?v=7ZlgAXFvJcU

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Capt_Caaaveman
Getting noticed

Thank you.  Trying to keep up with my sysadmin duties and try to learn a new programming language is overwhelming sometimes.  

Brash
Kind of a big deal
Kind of a big deal

I personally use them hand-in-hand.

Postman is very helpful for finding API calls, understanding the input and output fields and data structures.

Once you have the API call and structures, you can then use Python to build code around it and implement the automation.

alemabrahao
Kind of a big deal
Kind of a big deal

Maybe it will help you.

 

https://www.youtube.com/watch?v=SSA31frWPeQ

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
Get notified when there are additional replies to this discussion.