[30e88f42] Einfügen
Einfügen
This commit is contained in:
18
connector-superoffice/debug_person_4.py
Normal file
18
connector-superoffice/debug_person_4.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import os
|
||||
import json
|
||||
import sys
|
||||
|
||||
# Setup Paths
|
||||
connector_dir = "/app/connector-superoffice"
|
||||
sys.path.append(connector_dir)
|
||||
|
||||
from superoffice_client import SuperOfficeClient
|
||||
|
||||
def debug_person(person_id):
|
||||
so_client = SuperOfficeClient()
|
||||
person = so_client.get_person(person_id)
|
||||
print("--- FULL PERSON DATA ---")
|
||||
print(json.dumps(person, indent=2))
|
||||
|
||||
if __name__ == "__main__":
|
||||
debug_person(4)
|
||||
Reference in New Issue
Block a user