OCTO API client
Python HTTP client for OCTO (Open Connection for Tourism) APIs.
More info at octospec.com
API Specification: https://docs.octo.travel/docs/octo/r6gduoa5ah5ne-octo-api
Installation
pip install octo-api-client
Requirements
- Python v3.7+
Development
Getting started
$ pip install poetry
$ poetry install
Running tests and linters
To run linters:
$ poetry run ruff octo_client
$ poetry run mypy octo_client
To run tests:
$ poetry run pytest
Usage
from octo_client import OctoClient
client = OctoClient('https://octo-api.mysupplier.com', 'MY-SECRET_TOKEN')
client.get_suppliers()
Metadata
Release files for octo-api-client 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| octo_api_client-1.1.7.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| octo_api_client-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / octo_api_client-1.1.7.tar.gz
| Download URL | octo_api_client-1.1.7.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56681a03a6c66715d0576e2c135adffdbd3944789ea599160c75437c19044fd2
|
|
BLAKE2b-256 checksum How to use checksums |
1bb199364cbd3343250582f4f292c24247a317b65d2f4211cbfed0d0b7e380fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.7.17 Linux/5.15.0-1041-azure
|
Release files / octo_api_client-1.1.7-py3-none-any.whl
| Download URL | octo_api_client-1.1.7-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d28688a4714e1075e775c20df3a437bec7ed798ac0f13c07fd5b9ce123d8a28
|
|
BLAKE2b-256 checksum How to use checksums |
8a461a0d1f599fc06ca0228db0273a74db9f0c54b10bb849567b6c9b95632375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.7.17 Linux/5.15.0-1041-azure
|