Metadata-Version: 2.1
Name: octo-api-client
Version: 1.1.0
Summary: HTTP client for OCTo (Open Connection for Tourism) APIs.
License: MIT
Author: Tiqets
Author-email: connections@tiqets.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: requests (>=2.20.0,<3)
Requires-Dist: tonalite (>=1.7.1,<2)
Description-Content-Type: text/markdown

# OCTO API client

Python HTTP client for OCTO (Open Connection for Tourism) APIs.

More info at [octospec.com](https://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()
```

