pyBreezeChMS icon indicating copy to clipboard operation
pyBreezeChMS copied to clipboard

How does one interpret the return from get_person_details()?

Open dawillcox opened this issue 4 years ago • 0 comments

get_person_details() returns a dict with a whole bunch of entries. The content of the top-level dict is pretty obvious, 'first_name,' 'last_name,' 'street_address,' etc. But it's limited.

But there's a 'details' entry that's another dict with a whole bunch more entries. Some are duplicates of the top-level entries, but most are just strings of random-seeming numbers. And the values are a bunch of different things.

This is probably an issue for the general API document, not Python specifically, but is there some way to get some kind of schema, or other information for what the other fields are? For example, what's the key to find the list of phone numbers? It's rather inconvenient to traverse the whole set of values looking for a dict (or list thereof) with 'field_type' => 'phone' for example.

dawillcox avatar Jul 06 '20 16:07 dawillcox