Skip to main content

ourskyai-c2-api

Command-and-Control API

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

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

Requirements.

Python 3.9+

Installation & Usage

pip install

pip install ourskyai_c2_api

(you may need to run pip with root permission: sudo pip install ourskyai_c2_api)

Poetry install

If you manage dependencies with poetry then you can add the SDK with:

poetry add ourskyai_c2_api

Import the package

Then import the package:

import ourskyai_c2_api

Getting Started

Please follow the installation procedure and then run the following:

import os
import ourskyai_c2_api
from ourskyai_c2_api.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.prod.oursky.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = ourskyai_c2_api.Configuration(
    host = "https://api.prod.oursky.ai"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: BearerToken
configuration = ourskyai_c2_api.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with ourskyai_c2_api.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ourskyai_c2_api.DefaultApi(api_client)
    task_group_id = UUID('38400000-8cf0-11bd-b23e-10b96e4ef00d') # UUID | 

    try:
        api_response = api_instance.c2_v1_cancel_all_task_group_tasks(task_group_id)
        print("The response of DefaultApi->c2_v1_cancel_all_task_group_tasks:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->c2_v1_cancel_all_task_group_tasks: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.prod.oursky.ai/docs/c2

Documentation For Authorization

Authentication schemes defined for the API:

BearerToken

  • Type: Bearer authentication

Roles

Author

Metadata

Release files for ourskyai_c2_api 1.4.413

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ourskyai_c2_api 1.4.413
File Size Uploaded
ourskyai_c2_api-1.4.413.tar.gz 44.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ourskyai_c2_api 1.4.413
File Interpreter ABI Platform
ourskyai_c2_api-1.4.413-py3-none-any.whl Python 3 none any Details

Total release size: 129.9 kB

Release files / ourskyai_c2_api-1.4.413.tar.gz

Download URL ourskyai_c2_api-1.4.413.tar.gz
Size 44.8 kB
Tags Source
SHA-256 checksum
How to use checksums
32a32ce4325c557f70afbb33d3e9352c0a201c83a89f79d9ca5a37f881ffe776
BLAKE2b-256 checksum
How to use checksums
7d34f4ee0e173b8b3d78e22e9a7f863918f0e2af9f4a5c457876c9dab872200e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.12 Linux/6.8.0-1063-aws

Release files / ourskyai_c2_api-1.4.413-py3-none-any.whl

Download URL ourskyai_c2_api-1.4.413-py3-none-any.whl
Size 85.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
328120ee4f4f9a9d811934d5d6627fe59c934ecbdbe2942c386de970b5469296
BLAKE2b-256 checksum
How to use checksums
7124bd8ee172f0d2193ef1248138be61b7f48f7abfef3c07228796daeebb51ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.12 Linux/6.8.0-1063-aws

Release history Release notifications | RSS feed

This release

1.4.413 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page