From Postman to Python: Your First GET Request

Published: 30 August 2021
on channel: 0x2142 - Networking Nonsense
39,821
548

In this video, we'll walk through a fairly basic intro on how to query an API via Postman, then show how to use Python to make those same queries a little more dynamic & automated. The intent of this video is not to be an all-inclusive intro to Postman or Python - just to give a few examples, and show how easy it can be to make the jump from Postman to Python. The examples used are created in the context of systems/network automation, but the underlying concepts are usable outside of these areas.

Additional details in the blog: https://0x2142.com/from-postman-to-py...

Example code on my GitHub: https://github.com/0x2142/example-scr...

Links / Follow me elsewhere:
Blog: https://0x2142.com
Twitter:   / 0x2142  
Mastodon/Fediverse: @matt@0x2142.com
GitHub: https://github.com/0x2142

If this video was helpful to you, please consider subscribing & sharing! Please leave a comment if you would like similar content! Thank you!!!

Want to support this channel? Buy me a coffee: https://www.buymeacoffee.com/0x2142

Thanks for watching!
Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chapters:
0:00 - Intro / Background
2:27 - Review Test API / JSON Data
4:26 - Postman: Set up & Execute Simple GET Request
7:40 - Postman: Using Query Parameters
10:15 - Python: Install Requests Module & Basic GET Request
11:43 - Python: Querying with User Input
13:30 - Python: Comparing JSON Response with Python List / Dict
14:52 - Python: Filtering & Formatting Response Data
16:49 - Example: Using Meraki Dashboard API to Find Most Common Device OS

Standard Disclaimer: Any comments / opinions here are my own, and do not represent my current or former employers.


On this page of the site you can watch the video online From Postman to Python: Your First GET Request with a duration of hours minute second in good quality, which was uploaded by the user 0x2142 - Networking Nonsense 30 August 2021, share the link with friends and acquaintances, this video has already been watched 39,821 times on youtube and it was liked by 548 viewers. Enjoy your viewing!