Simple calculator API hosted on APIMATIC for demo on 29th Sept
Project description
Getting Started with APIMATIC Calculator test
Introduction
Simple calculator API hosted on APIMATIC for demo on 29th Sept
Install the Package
The package is compatible with Python versions 2 >=2.7.9
and 3 >=3.4
.
Install the package from PyPi using the following pip command:
pip install automation-test==1.17
You can also view the package at: https://pypi.python.org/pypi/automation-test
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
Parameter | Type | Description |
---|---|---|
timeout |
float |
The value to use for connection timeout. Default: 60 |
max_retries |
int |
The number of times to retry an endpoint call if it fails. Default: 0 |
backoff_factor |
float |
A backoff factor to apply between attempts after the second try. Default: 2 |
retry_statuses |
Array of int |
The http statuses on which retry is to be done. Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524] |
retry_methods |
Array of string |
The http methods on which retry is to be done. Default: ['GET', 'PUT'] |
The API client can be initialized as follows:
from apimaticcalculatortest.apimaticcalculatortest_client import ApimaticcalculatortestClient
from apimaticcalculatortest.configuration import Environment
client = ApimaticcalculatortestClient(
environment=Environment.PRODUCTION,)
List of APIs
Classes Documentation
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
automation-test-1.17.tar.gz
(12.1 kB
view hashes)
Built Distribution
Close
Hashes for automation_test-1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee0757cb5646223c17963ee4d8ca1c47e4a45fb2d577e766c218cb56f64bb2a0 |
|
MD5 | 3829ac5d1860d30003f8e75fc823701f |
|
BLAKE2b-256 | 91f21323c3cb211c141d5cd7332c51b594f392cd1ba6aeb92c58a59b2a74b1ae |