Skip to main content

Console tool for validating the Supplier API implementation

Project description

Supplier API Testing Tool

Requirements

Python 3.7+

Installation

pip install supplier-api-tester

Usage

supplier_tester --help
Usage: supplier_tester [OPTIONS]

  Test you Supplier API implementation

Options:
  -u, --url TEXT         [required]
  -k, --api-key TEXT     [required]
  -p, --product-id TEXT  [required]
  -t, --timeslots
  -a, --availability
  -r, --reservation
  -b, --booking
  --help                 Show this message and exit.

Running all tests:

    supplier_tester -u 'http://localhost:8000' -k 'secret' -p 'A400-FX'

Running only availability tests:

    supplier_tester -u 'http://localhost:8000' -k 'secret' -p 'A400-FX' -a

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

supplier_api_tester-1.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file supplier_api_tester-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: supplier_api_tester-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.3

File hashes

Hashes for supplier_api_tester-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e94db720a502c0e3e9e0e9ad62e779572bd24bc79884a30a2275736d40db7f
MD5 5a1a590b52c491087e15f6397883a0a6
BLAKE2b-256 cf8b6a2498ab5cb95eefd345e95928b907fe6c2dc8e3112cda4f6a15fcb863bf

See more details on using hashes here.

Provenance

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