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-3.0.1-py3-none-any.whl (147.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for wtwco_igloo_cloud_api_client-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35d42faeb7e7c62854439158045f57747c90a754a6cd8e959cf1dee47ae3a9f8
MD5 97aa9ff73a310a1e7b07224c42eaefa3
BLAKE2b-256 7eff880ff259a3ef27dc1bbc41f7d5908bb5a179365104d997af54426b33b7b3

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