Metadata-Version: 2.1
Name: OCTo-API-client
Version: 0.1.6
Summary: HTTP client for OCTo (Open Connection for Tourism) APIs.
Home-page: UNKNOWN
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: dacite (<2,>=1.1.0)
Requires-Dist: requests (<3,>=2.20.0)
Provides-Extra: tests
Requires-Dist: isort (==4.3.21) ; extra == 'tests'
Requires-Dist: flake8-isort (==2.7.0) ; extra == 'tests'
Requires-Dist: flake8 (==3.7.9) ; extra == 'tests'
Requires-Dist: mypy (==0.770) ; extra == 'tests'
Requires-Dist: pytest-cov (==2.8.1) ; extra == 'tests'
Requires-Dist: pytest (==5.3.1) ; extra == 'tests'
Requires-Dist: responses (==0.10.7) ; extra == 'tests'
Requires-Dist: tox (==3.14.2) ; extra == 'tests'

# OCTo API client

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

More info at [octospec.com](https://octospec.com/)

## Installation

    pip install octo-api-client

## Requirements

* Python v3.7+

## Development

### Getting started

    $ virtualenv venv _--python=python3.7
    $ . venv/bin/activate
    $ python setup.py develop

### Running tests

Install requirements:

    $ pip install -e '.[tests]'

To run all linters and tests:

    $ tox

If you want to run a specific test

    $ pytest -k test_name


## Usage

```
from octo_client import OctoClient

client = OctoClient('https://octo-api.mysupplier.com', 'MY-SECRET_TOKEN')
client.get_suppliers()
```


