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.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

api_client_lnx_edge-0.3.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: api-client-lnx-edge-0.3.0.tar.gz
  • Upload date:
  • Size: 6.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.0.tar.gz
Algorithm Hash digest
SHA256 facb92b14615b07498632b9df733ef1d78f81653fde8d268e4df90528b61e9b0
MD5 f2c5da2c572b346720bbf1fd0bbe6e85
BLAKE2b-256 c99fbdff8e3485b63cb16973ce6662ea5d3a49375c3466c18f4b092fffecd03c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for api_client_lnx_edge-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f80266dbce48715d4e8b836a21568c7dbf94649dabd2cf0ef34ab2fc446062c
MD5 e7bb3bb524cfacf05dbf8abb4763d7bb
BLAKE2b-256 b95a290b39e6e271d860bd358c8da02258b7c7c7ad8cc45fa6d5277757fbaee8

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