Warning, I am new to coding so I might not explain this exactly correctly. This is my limited understanding of it and question.
The Prebuilt Meraki Google sheet has specific code built into it to handle the returned JSON formatted information. This dynamically goes through the results of a API call and builds out the Keys/Headers/Column Titles for the results of a call. This works great for building out that table, basically goes through all the results, creates all possible Keys/Headers that could be needed, even if results vary and even if some Keys are not used in some of the results.
I am looking to see if there is existing code within Python that will accomplish the same results. When using the Meraki Python Library the results come into python has a List of Dictionaries which can be nested several layers deep, each call returning different variations. Sometimes this nesting is 2,3,4 layers deep and varies on the order of nesting.
Does something exist within Python to handle that data dynamically like the JSON parser for the Google sheet?
I would ideally like to continue using the Meraki Python Library due to its built in features. (Pagination, Rate control, etc). With the consistent format the Meraki API delivers it's results I would have to think something like this already exists.
I have had the most success with using Pandas data frames but it doesn't break out the deeper nested layers automatically. It also needs specifically rebuilt when using different calls to the Meraki API.
Thank you!!