Skip to main content

Backend

Project description

ebiose-cloud-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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

  • API version: 1.0
  • Package version: 0.1.127
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import ebiose_cloud_client

Setuptools

Install via Setuptools.

python setup.py install --user

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

Then import the package:

import ebiose_cloud_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import ebiose_cloud_client
from ebiose_cloud_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = ebiose_cloud_client.Configuration(
    host = "http://localhost"
)

# 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 API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'

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


# Enter a context with an instance of the API client
async with ebiose_cloud_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = ebiose_cloud_client.ApiKeyApi(api_client)
    api_key_input_model = ebiose_cloud_client.ApiKeyInputModel() # ApiKeyInputModel | 

    try:
        api_response = await api_instance.add_api_key(api_key_input_model)
        print("The response of ApiKeyApi->add_api_key:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ApiKeyApi->add_api_key: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ApiKeyApi add_api_key POST /apikeys
ApiKeyApi delete_api_key DELETE /apikeys/{apiKeyUuid}
ApiKeyApi get_api_key GET /apikeys/{apiKeyUuid}
ApiKeyApi get_api_keys GET /apikeys
ApiKeyApi self_add_api_key POST /apikeys/self
ApiKeyApi self_delete_api_key DELETE /apikeys/self/{apiKeyUuid}
ApiKeyApi self_get_api_keys GET /apikeys/self
ApiKeyApi update_api_key PUT /apikeys/{apiKeyUuid}
AuthEndpointsApi login POST /auth/login
AuthEndpointsApi login_github GET /auth/github/login
AuthEndpointsApi refresh_token GET /auth/refresh-token
AuthEndpointsApi self_update PUT /auth/self-update
AuthEndpointsApi sign_up POST /auth/signup
AuthEndpointsApi update_password PUT /auth/update-password
AuthEndpointsApi user_info GET /auth/user-info
BackendApi root_get GET /
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agent_agent_uuid_get GET /ecosystems/{ecosystemUuid}/agent/{agentUuid}
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agent_agent_uuid_put PUT /ecosystems/{ecosystemUuid}/agent/{agentUuid}
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agent_post POST /ecosystems/{ecosystemUuid}/agent
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agents_delete DELETE /ecosystems/{ecosystemUuid}/agents
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agents_get GET /ecosystems/{ecosystemUuid}/agents
EcosystemEndpointsApi ecosystems_ecosystem_uuid_agents_post POST /ecosystems/{ecosystemUuid}/agents
EcosystemEndpointsApi ecosystems_get GET /ecosystems
EcosystemEndpointsApi ecosystems_post POST /ecosystems
EcosystemEndpointsApi ecosystems_uuid_delete DELETE /ecosystems/{uuid}
EcosystemEndpointsApi ecosystems_uuid_get GET /ecosystems/{uuid}
EcosystemEndpointsApi ecosystems_uuid_put PUT /ecosystems/{uuid}
ForgeEndpointsApi add_agent_during_forge_cycle POST /forges/cycles/{forgeCycleUuid}/agent
ForgeEndpointsApi add_agents_during_forge_cycle POST /forges/cycles/{forgeCycleUuid}/agents
ForgeEndpointsApi delete_forge DELETE /forges/{forgeUuid}
ForgeEndpointsApi end_forge_cycle POST /forges/cycles/{forgeCycleUuid}/end
ForgeEndpointsApi forges_cycles_forge_cycle_uuid_deduct_compute_banks_post POST /forges/cycles/{forgeCycleUuid}/deduct-compute-banks
ForgeEndpointsApi forges_cycles_forge_cycle_uuid_select_agents_get GET /forges/cycles/{forgeCycleUuid}/select-agents
ForgeEndpointsApi forges_cycles_forge_cycle_uuid_usage_post POST /forges/cycles/{forgeCycleUuid}/usage
ForgeEndpointsApi get_forge GET /forges/{forgeUuid}
ForgeEndpointsApi get_forge_cycles GET /forges/cycles
ForgeEndpointsApi get_forges GET /forges
ForgeEndpointsApi get_spend GET /forges/cycles/{forgeCycleUuid}/spend
ForgeEndpointsApi start_new_forge_cycle POST /forges/cycles/start
ForgeEndpointsApi update_forge PUT /forges/{forgeUuid}
FrontApiApi front_api_agents_agent_uuid_get GET /front-api/agents/{agentUuid}
FrontApiApi front_api_agents_get GET /front-api/agents
UsersApi users_email_email_get GET /users/email/{email}
UsersApi users_get GET /users
UsersApi users_post POST /users
UsersApi users_user_uuid_delete DELETE /users/{userUuid}
UsersApi users_user_uuid_get GET /users/{userUuid}
UsersApi users_user_uuid_put PUT /users/{userUuid}

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKey

  • Type: API key
  • API key parameter name: ApiKey
  • Location: HTTP header

Bearer

  • Type: Bearer authentication (JWT)

Author

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

ebiose_cloud_client-0.1.127.tar.gz (51.7 kB view details)

Uploaded Source

Built Distribution

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

ebiose_cloud_client-0.1.127-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

Details for the file ebiose_cloud_client-0.1.127.tar.gz.

File metadata

  • Download URL: ebiose_cloud_client-0.1.127.tar.gz
  • Upload date:
  • Size: 51.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for ebiose_cloud_client-0.1.127.tar.gz
Algorithm Hash digest
SHA256 26b031bae9bcfa6faf6d8bd7edd0e381009570191dba2f5ede1bdc1e8a665d55
MD5 3f6b59a60d78d29405cd0ff565a8705f
BLAKE2b-256 a0e2369a40fd8be0515182059b725473b2e1f72e67cf4a7a5b24d5d48d051f2c

See more details on using hashes here.

File details

Details for the file ebiose_cloud_client-0.1.127-py3-none-any.whl.

File metadata

File hashes

Hashes for ebiose_cloud_client-0.1.127-py3-none-any.whl
Algorithm Hash digest
SHA256 1c38083cfe26c2de1eb292258cf7e4930d0cf244e7465615fdbad1534e0c2cc6
MD5 fafabebb1912ccc64fb69a1629d0afdb
BLAKE2b-256 4de75ed3251ed00c81cdae12aac260d4ed6801522652be3dcef5fa032165a271

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