Files
Brancheneinstufung2/connector-superoffice/inspect_person_full.py

20 lines
520 B
Python

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)