Skip to main content

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)

Source distribution for octo-api-client 1.1.7
File Size Uploaded
octo_api_client-1.1.7.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for octo-api-client 1.1.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.7 This release

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page