Using Chat GPT as a Tutor for Meraki Base Script for User Count
Super launching from beginner to getting useful code
(This picture was created with Lexica AI picture generator. )
Objective:
This blogpost breaks down a working script from GitHub:
https://github.com/meraki/automation-scripts/blob/master/clientcount.py.
It works well, accepting your AP key and then publishing a “month” of data on how many unique user mac addresses appeared on your network. My eventual goal is to get this data, per a specified time frame, per network, and drop this in an Excel spreadsheet. Upon attempts to use ChatGPT, code was written, but errors made it unusable. Also per this code, it shows information on throttling. In the September 1, 2023 blog, the code worked, but the data was throttled.
Here’s my examples of using ChatGPT as a Python tutor.
Specific goals for this blog:
Learn the breakdown of this code to have the ability to:
1- Make changes to expand options for the code
2- Learn about Meraki throttling
This contains a ChatGPT Breakdown of this code:
Next block of code (not the print statements):
Next block of code:
What is a Python Method?
Thanks for checking out my blog and taking this journey with me. If you have some tips on the subject, I’d love to hear them. Find me on X @jamiegprice CWNE #510