Python & Aruba AOS-CX REST API Crash Course

preview_player
Показать описание
This is a (nearly) live recording of a talk that I gave at recent HPE virtual events, covering those hints and tips about Python that I wish I had known when I was starting out learning Python and REST APIs.
I cover basics such as API authentication and the Swagger interface, but also some more advanced topics like hierarchy, Python data types (dicts & lists) plus working with JSON.
I then bring it all together to run a script to check my network devices are running the desired version of code.
All the code and accompanying notes are available as a Jupyter Notebook:

Timestamps:
00:00 - Intro
02:25 - Clone the Jupyter Notebooks and install
05:55 - Swagger interface
12:40 - Login/logout of the REST API
18:00 - A word about security
23:35 - Python and whitespace
28:20 - Exception handling
31:15 - Working with JSON & Python dictionaries
38:55 - Python lists
41:54 - For loops
48:10 - Final example

Twitter:
Рекомендации по теме
Комментарии
Автор

superb upload Airheads Broadcasting. I smashed the thumbs up on your video. Maintain up the amazing work.

KeyserTheRedBeard
Автор

Hi Joe, thank you for making this helpful video.

grahammccann
Автор

Great intro to a very interesting topic, Joe!

TomWhi
Автор

This one is like my drumming, it starts off slow and then speeds up a bit. 🥁

null_zero
Автор

Thank you realy helpfull video, as an apprentiship I'm craving for this type of video ;) !

Haurrus
Автор

it would be really great to have like a 100% start to finish walkthrough of installation, access of the switch API, and then base script creation from absolute scratch and execution on a hardware device and then utilization of JSON data from bare scratch start to absolute completion in a video. this is helpful but i feel like we are just observing code and receiving an explanation of it rather than a full-scale execution example. as in - the full-scale execution example would go hand in hand with the lab explanation video. maybe this already exists and i just couldn't find it. not sure

johnmurillo
Автор

How about including the IP v6 link in the comments?

scott