Client for the LNX Edge API
Project description
LNX Edge API Client
Written for Python ≥ 3.7
Behavioral rules of thumb:
When requesting a report:
- Pass date (YYYY-MM-DD) strings instead of datetime strings (YYYY-MM-DDTHH:MM:SS.sss) to the
dateRange
field. # TODO FIX THIS - Timezone should always be specified in the request body.
EdgeAPI._get_report(...)
defaults toAmerica/New_York
, but can be overridden.
Test script:
(venv) > pytest -v
Now using marshmallow for data validation on the client-side, allowing users to either specify content as JSON or as python arguments for Create Offer endpoint.
Packaging instructions found here: https://packaging.python.org/en/latest/tutorials/packaging-projects/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for api-client-lnx-edge-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42718a48551d2e252ec6109efcbbe9448868738d07cf3c21ab07c4332613927 |
|
MD5 | 8ea5112ef0c84bca1ca4c7445c2374d6 |
|
BLAKE2b-256 | 139e9e26c6923988c292dc126ecc516d0a0f8e5ec4d57ff2ef43b4be783378c7 |
Close
Hashes for api_client_lnx_edge-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 417c21a1080df3ce569e84c833a2cb4a8eaf280baafb7049e47593c11b2f25b4 |
|
MD5 | 5ffb3c1d0db21a3d24ab3bd26c418e2a |
|
BLAKE2b-256 | bb0f5f78afdd8845972ae4ca19431052eacd4d2484bd36b729b0d288f788c34e |