Use Python to get data from a Cisco device | REST and JSON demo
Dr Pi
Cisco DevNet is on it's way and it's a good excuse for someone interested in software development to use Python during their day job. (assuming you are a Network Engineer).
To quote Cisco :
"Cisco DevNet is Cisco's developer program to help developers and IT professionals who want to write applications and develop integrations with Cisco products, platforms, and APIs"
The new "Cisco Certified DevNet Associate" exam came into existence on 24 Feb 2020.
Here I demonstrate the sample code from one of the Cisco learning labs - and gather some data from their sample device in a 'sandbox' url.
The concepts shown here are pretty much the same as you will use for API calls, webscraping etc. Requests is a nice module to learn. JSON is nothing to fear either.
Have a look at the video, any questions, drop me a comment.
#Python #Cisco #REST #Networking
Check out the Minimalist online python IDE : https://epyco.herokuapp.com/ https://epico.herokuapp.com/
Buy Dr Pi a Coffee...or Tea! : https://www.buymeacoffee.com/DrPi ... https://www.youtube.com/watch?v=U_3pJHlb2JE
91081796 Bytes