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()

Download files

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

Source Distribution

octo_api_client-1.1.7.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

octo_api_client-1.1.7-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file octo_api_client-1.1.7.tar.gz.

File metadata

  • Download URL: octo_api_client-1.1.7.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.7.17 Linux/5.15.0-1041-azure

File hashes

Hashes for octo_api_client-1.1.7.tar.gz
Algorithm Hash digest
SHA256 56681a03a6c66715d0576e2c135adffdbd3944789ea599160c75437c19044fd2
MD5 1608237ed0ca295dcf5fdba06f6295cf
BLAKE2b-256 1bb199364cbd3343250582f4f292c24247a317b65d2f4211cbfed0d0b7e380fb

See more details on using hashes here.

File details

Details for the file octo_api_client-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: octo_api_client-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.7.17 Linux/5.15.0-1041-azure

File hashes

Hashes for octo_api_client-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8d28688a4714e1075e775c20df3a437bec7ed798ac0f13c07fd5b9ce123d8a28
MD5 383d22d1866a3824fc80271681625ea2
BLAKE2b-256 8a461a0d1f599fc06ca0228db0273a74db9f0c54b10bb849567b6c9b95632375

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.7 This release

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

0.1.9

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page