Skip to main content

Project description


Pollination Cloud API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.0.1
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen


Python 2.7 and 3.4+

Installation & Usage

pip install

The default way to install pollination-sdk is through PyPi as follows:

pip install pollination-sdk

If you need a specific branch you can install straight from the repository using:

pip install git+

(you may need to run pip with root permission: sudo pip install git+

Then import the package:

import pollination_sdk 


Install via Setuptools.

python install --user

(or sudo python install to install the package for all users)

Then import the package:

import pollination_sdk

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import pollination_sdk
from import ApiException
from pprint import pprint

configuration = pollination_sdk.Configuration()

# Retrieve a temporary Acces Token (JWT) using your API key id and secret
API_KEY_ID = 'some-long-id'
API_KEY_SECRET = 'some-long-secret'

auth = pollination_sdk.AuthenticationApi()
api_token = pollination_sdk.Token(

auth_response = auth.login(token)

# Configure Bearer authorization: JWT
configuration.access_token = auth_response.access_token

# Defining host is optional and default to = ""
# Create an instance of the API class
api_instance = pollination_sdk.WorkflowsApi(pollination_sdk.ApiClient(configuration))
id = 'id_example' # str | 
workflow = pollination_sdk.Workflow() # Workflow | 

    # Update a Workflow
    api_response = api_instance.update(id, workflow)
except ApiException as e:
    print("Exception when calling WorkflowsApi->update: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to

Class Method HTTP request Description
AuthenticationApi create_api_token POST /auth/api-token Create an API Token
AuthenticationApi delete_api_token DELETE /auth/api-token Delete an API Token
AuthenticationApi get_api_token GET /auth/api-token Get your API Token ID
AuthenticationApi login POST /auth/login Login with API Token
AuthenticationApi rotate_api_token_secret PUT /auth/api-token Rotate an API token secret
ModelApi create POST /models Create a Model
ModelApi create_faces POST /models/{id}/faces Create Model Faces
ModelApi delete DELETE /models/{id} Delete a Model
ModelApi get GET /models/{id} Get a Model
ModelApi get_faces GET /models/{id}/faces Get Model Faces
ModelApi list GET /models Get Models
SensorGridApi create POST /sensor-grids Create a Sensor Grid
SensorGridApi delete DELETE /sensor-grids/{gid} Delete a Sensor Grid
SensorGridApi get GET /sensor-grids/{gid} Get a Sensor Grid
SensorGridApi get_sensors GET /sensor-grids/{gid}/sensors Get Sensors
SensorGridApi list GET /sensor-grids Get Sensor Grids
SimulationsApi create POST /simulations Schedule a simulation
SimulationsApi get GET /simulations/{id} Get a Simulation
SimulationsApi list GET /simulations List simulations
SimulationsApi resubmit POST /simulations/{id}/re-submit re-submit a simulation
SimulationsApi resume PUT /simulations/{id}/resume resume a simulation
SimulationsApi suspend PUT /simulations/{id}/suspend Suspend a simulation
WorkflowsApi create POST /workflows Create a Workflow
WorkflowsApi delete DELETE /workflows/{id} Delete a Workflow
WorkflowsApi get GET /workflows/{id} Get a Workflow
WorkflowsApi list GET /workflows List Workflows
WorkflowsApi update PUT /workflows/{id} Update a Workflow

Documentation For Models

Documentation For Authorization


  • Type: Bearer authentication


Project details

Download files

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

Files for pollination-sdk, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pollination_sdk-0.1.0-py3-none-any.whl (131.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pollination-sdk-0.1.0.tar.gz (120.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page