import json

with open("tmp_api2.json", "r") as f:
    js = json.load(f)
    page_props = js.get("data", {}).get("data", {}).get("props", {}).get("pageProps", {})
    
    for k, v in page_props.items():
        if isinstance(v, dict):
            print(f"=== {k} dict keys ===")
            print(", ".join(v.keys()))
        elif isinstance(v, list):
            print(f"=== {k} list length ===")
            print(len(v))
        else:
            print(f"=== {k} ===")
            print(str(v)[:100])
