Skip to main content

A client library for accessing Igloo Cloud API

Project description

wtwco-igloo-cloud-api-client

A python client library for Igloo Cloud API v2. Please note, for most use cases we recommend using the 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. Also note, we recommend that you perform the installation within a Python virtual environment. See here for more info.

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

pip install wtwco-igloo-cloud-api-client

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

import wtwco_igloo_cloud_api_client

Connecting to the API

First create an authenticated client:

from wtwco_igloo_cloud_api_client import AuthenticatedClient

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

View your projects:

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.

Project details


Download files

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

Source Distribution

wtwco_igloo_cloud_api_client-2.0.0.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

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

wtwco_igloo_cloud_api_client-2.0.0-py3-none-any.whl (131.0 kB view details)

Uploaded Python 3

File details

Details for the file wtwco_igloo_cloud_api_client-2.0.0.tar.gz.

File metadata

File hashes

Hashes for wtwco_igloo_cloud_api_client-2.0.0.tar.gz
Algorithm Hash digest
SHA256 4d3a03a470eef481da521bce0f58a9b47255c1a109ca71347fb1fa1f5dde071e
MD5 2cf4f75476999c08148fd39c2597330e
BLAKE2b-256 8c1e8d810ccfc703db4831e2d153ced1182242954aabcb8b2d619f08c1983409

See more details on using hashes here.

File details

Details for the file wtwco_igloo_cloud_api_client-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wtwco_igloo_cloud_api_client-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaea6fe9c049bfbfb2d7f0c592cd31df7f4f87af31fdf7ac785eb604e349c7fa
MD5 66b2a81d6748d9463d4608f033182790
BLAKE2b-256 4e3425b205e22bbf228756ded1f956e869b70799b1628831d0220c6a4a23cbf0

See more details on using hashes here.

Supported by

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