Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for Supplier-API-tester, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size Supplier_API_tester-1.2.1-py3-none-any.whl (17.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page