hi everyone,
i’m currently working on a small script to pull some metrics from a 3rd party API using the requests library. the API returns a pretty messy nested dictionary and i’m finding myself using too many nested for loops to get the specific keys i need.
it works, but it feels super clunky and i’m worried about it becoming a nightmare to maintain as the project grows. is there a more “pythonic” or efficient way to flatten or parse deeply nested JSON in Python? should i look into something like pandas or is that total overkill for a simple monitoring tool?
thanks for any advice!