Skip to main content

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 to America/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

api-client-lnx-edge-0.3.6.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

api_client_lnx_edge-0.3.6-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file api-client-lnx-edge-0.3.6.tar.gz.

File metadata

  • Download URL: api-client-lnx-edge-0.3.6.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for api-client-lnx-edge-0.3.6.tar.gz
Algorithm Hash digest
SHA256 1da00b2a8931ddf39fb3e2a47e3167e4312c5e34c279f262969eb6249970d1be
MD5 b17200f5d2a266c6396bb274ccf30809
BLAKE2b-256 56efb432269c497c59f1dd43bd2bd8c9d6515335a381be678cc4d6230cf04d4e

See more details on using hashes here.

File details

Details for the file api_client_lnx_edge-0.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for api_client_lnx_edge-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2b397af59ce4354d96fe770ac643b84a032b1476efd631c96e908b94bfb1b0fc
MD5 227bb055734c6d09d6f3209b15654a52
BLAKE2b-256 002ec2783f75738f14ad3b2eed45a59f4ab80cbc842c6d96ec8a4c83ce44e919

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page