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 v3. 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

wtwco_igloo_cloud_api_client-5.0.0-py3-none-any.whl (170.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for wtwco_igloo_cloud_api_client-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e89710431fdcc7c6b105b469c7d0f6623b1bde9d75660e7ceeac0a82c153a560
MD5 95b0426744e073ad09367bd5931ee98e
BLAKE2b-256 533ecbeb3dd9fdb8e7653e63ebdee1bc46f51ecdfdd171a98c14c8967daadb60

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