Metadata-Version: 2.4
Name: wtwco-igloo-cloud-api-client
Version: 5.0.0
Summary: A client library for accessing Igloo Cloud API
License: MIT
License-File: LICENSE.txt
Author: WTW
Author-email: software.support@wtwco.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: attrs (>=25.3.0,<26.0.0)
Requires-Dist: h11 (>=0.16.0,<0.17.0)
Requires-Dist: httpx (>=0.20.0,<1.0)
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
Description-Content-Type: text/markdown

# wtwco-igloo-cloud-api-client

A python client library for Igloo Cloud API v3.
Please note, for most use cases we recommend using the [wtwco-igloo](https://pypi.org/project/wtwco-igloo/) package as it provides many useful methods on top of the API.

## Installation

Note, we assume you have Python 3.9 or later already installed on your machine. If not, please download and install the latest version of Python from the [official website](https://www.python.org/downloads/).
Also note, we recommend that you perform the installation within a Python virtual environment. [See here for more info](https://docs.python.org/3/library/venv.html#creating-virtual-environments).

Once created, please activate your virtual environment and install the Igloo Python Connector package using the following command:

```shell
pip install wtwco-igloo-cloud-api-client
```

You should now be able to import the package in your Python code:

```python
import wtwco_igloo_cloud_api_client
```

## Connecting to the API

First create an authenticated client:

```python
from wtwco_igloo_cloud_api_client import AuthenticatedClient

client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
```

View your projects:

```python
from wtwco_igloo_cloud_api_client.models import Project
from wtwco_igloo_cloud_api_client.api.projects import get_projects
from wtwco_igloo_cloud_api_client.types import Response

with client as client:
    my_data: Project = get_projects.sync(client=client)
    # or if you need more info (e.g. status_code)
    response: Response[Project] = get_projects.sync_detailed(client=client)
```

## Documentation and Examples

For documentation and examples please see [WTW Client Services](https://clientservices.insurancetechnology.com/).

