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.126
  • 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.126.tar.gz (51.6 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.126-py3-none-any.whl (88.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ebiose_cloud_client-0.1.126.tar.gz
  • Upload date:
  • Size: 51.6 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.126.tar.gz
Algorithm Hash digest
SHA256 9062002e489aa7b5146ac5f4c73549c6dbca0ca26668c5f63d368eebb82495fe
MD5 6e5755eaeeaaf000f1064c44f5381a44
BLAKE2b-256 079aa3c9526923a13ec619430163702fe7626c6fb6f27e2f76ee461a38f86a19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ebiose_cloud_client-0.1.126-py3-none-any.whl
Algorithm Hash digest
SHA256 dc254f443d6390a67b45139e8ab65a8c147205692e01d1d52bd7506b23f71801
MD5 1622e67a68e675c47d344a5ef3e6d1e4
BLAKE2b-256 7afd941f5ff9a0d89f6a7993a9016706799fcd5aaa4092b34b3d28c0a55fedc6

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