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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacbfcf0dd46d8dc3688f89a4adc3ccd8fea58bc6ec65f4e789e7a7e0927c15b |
|
MD5 | b6e046fce7541041a9e9d47b95fb795b |
|
BLAKE2b-256 | 7d2f421a9bb0db43663f811f54b6446bead752f60dff92ccc61165477ab65e87 |
Close
Hashes for api_client_lnx_edge-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1832a808c895311a56a3db5a85382dfe9da536c3731aec9aca1ccaf71c81b6b |
|
MD5 | 802141f39a6280e727dd1ca0ed00a04c |
|
BLAKE2b-256 | e48e504350222ea913cf115e67ee1ff42b88074c7f5a536ce54e274fac232c83 |