import os
import json
import logging
from dotenv import load_dotenv
load_dotenv(override=True)
from superoffice_client import SuperOfficeClient

logging.basicConfig(level=logging.INFO)

def inspect_person(person_id: int):
    client = SuperOfficeClient()
    print(f"📡 Fetching FULL Person {person_id}...")
    person = client._get(f"Person/{person_id}")
    if person:
        print(json.dumps(person, indent=2))
    else:
        print("❌ Person not found.")

if __name__ == "__main__":
    inspect_person(193036)