Work on Impexium API and related.

This commit is contained in:
Scott Idem
2022-02-18 17:35:25 -05:00
parent aa09333383
commit 783ff6e9b3
4 changed files with 130 additions and 127 deletions

View File

@@ -1,4 +1,3 @@
from __future__ import annotations
import datetime, json, pprint, pytz, random, requests, secrets, string, time
from requests.auth import HTTPBasicAuth
@@ -61,7 +60,7 @@ def get_access_token():
log.debug(f'Status Code: {resp.status_code}')
log.debug(f'Headers: {resp.headers}')
log.debug(f'Encoding: {resp.encoding}')
# log.debug(f'Encoding: {resp.encoding}')
log.debug(f'JSON: {resp.json()}')
# log.debug('Text:', resp.text)
@@ -171,7 +170,7 @@ def get_contact_custom_field_list(api):
log.debug('Status Code:', resp.status_code)
log.debug('Headers:', resp.headers)
log.debug('Encoding:', resp.encoding)
# log.debug('Encoding:', resp.encoding)
log.debug('JSON:', resp.json())
# log.debug('Text:', resp.text)