Skip to main content

IotaService

Project description

affinidi_tdk_iota_client

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

For more information, please visit www.affinidi.com

Documentation is available at https://docs.affinidi.com/dev-tools/affinidi-tdk/clients/iota-framework

Requirements.

Python 3.7+

Installation & Usage

pip install

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

pip install affinidi_tdk_iota_client

Then import the package:

import affinidi_tdk_iota_client

Setuptools

Install via Setuptools.

python setup.py install --user

Then import the package:

import affinidi_tdk_iota_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import time
import affinidi_tdk_iota_client
from affinidi_tdk_iota_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://apse1.api.affinidi.io/ais
# See configuration.py for a list of all supported configuration parameters.
configuration = affinidi_tdk_iota_client.Configuration(
    host = "https://apse1.api.affinidi.io/ais"
)



# Enter a context with an instance of the API client
with affinidi_tdk_iota_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = affinidi_tdk_iota_client.CallbackApi(api_client)
    callback_input = affinidi_tdk_iota_client.CallbackInput() # CallbackInput | CallbackRequestInput

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

Documentation for API Endpoints

All URIs are relative to https://apse1.api.affinidi.io/ais

Class Method HTTP request Description
CallbackApi iot_oidc4_vp_callback POST /v1/callback
ConfigurationsApi create_iota_configuration POST /v1/configurations
ConfigurationsApi delete_iota_configuration_by_id DELETE /v1/configurations/{configurationId}
ConfigurationsApi get_iota_configuration_by_id GET /v1/configurations/{configurationId}
ConfigurationsApi get_iota_configuration_meta_data GET /v1/projects/{projectId}/configurations/{configurationId}/metadata
ConfigurationsApi list_iota_configurations GET /v1/configurations
ConfigurationsApi update_iota_configuration_by_id PATCH /v1/configurations/{configurationId}
DcqlQueryApi create_dcql_query POST /v1/configurations/{configurationId}/dcql-queries
DcqlQueryApi delete_dcql_query_by_id DELETE /v1/configurations/{configurationId}/dcql-queries/{queryId}
DcqlQueryApi get_dcql_query_by_id GET /v1/configurations/{configurationId}/dcql-queries/{queryId}
DcqlQueryApi list_dcql_queries GET /v1/configurations/{configurationId}/dcql-queries
DcqlQueryApi update_dcql_query_by_id PATCH /v1/configurations/{configurationId}/dcql-queries/{queryId}
DefaultApi list_logged_consents GET /v1/logged-consents
IotaApi aws_exchange_credentials POST /v1/aws-exchange-credentials
IotaApi aws_exchange_credentials_project_token POST /v1/aws-exchange-credentials/project-token
IotaApi fetch_iota_vp_response POST /v1/fetch-iota-response
IotaApi initiate_data_sharing_request POST /v1/initiate-data-sharing-request
IotaApi iota_exchange_credentials POST /v1/exchange-credentials
PexQueryApi create_pex_query POST /v1/configurations/{configurationId}/pex-queries
PexQueryApi delete_pex_queries POST /v1/configurations/{configurationId}/delete-queries
PexQueryApi delete_pex_query_by_id DELETE /v1/configurations/{configurationId}/pex-queries/{queryId}
PexQueryApi get_pex_query_by_id GET /v1/configurations/{configurationId}/pex-queries/{queryId}
PexQueryApi list_pex_queries GET /v1/configurations/{configurationId}/pex-queries
PexQueryApi save_pex_queries POST /v1/configurations/{configurationId}/save-queries
PexQueryApi update_pex_query_by_id PATCH /v1/configurations/{configurationId}/pex-queries/{queryId}

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

AwsSigV4

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

ApiKey

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

bearerAuth

  • Type: Bearer authentication (JWT)

ConsumerTokenAuth

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

UserTokenAuth

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

ProjectTokenAuth

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

HeritageTokenAuth

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

Author

info@affinidi.com

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

affinidi_tdk_iota_client-1.57.0.tar.gz (45.3 kB view details)

Uploaded Source

Built Distribution

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

affinidi_tdk_iota_client-1.57.0-py3-none-any.whl (108.4 kB view details)

Uploaded Python 3

File details

Details for the file affinidi_tdk_iota_client-1.57.0.tar.gz.

File metadata

  • Download URL: affinidi_tdk_iota_client-1.57.0.tar.gz
  • Upload date:
  • Size: 45.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: poetry/1.8.5 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for affinidi_tdk_iota_client-1.57.0.tar.gz
Algorithm Hash digest
SHA256 9000bd2abe2fdfb851a7e972f844e0d91f22dbadf613dd575dcb08b0487fc85a
MD5 060e5b41567b121b0d17511fc4fa9f06
BLAKE2b-256 2172c30c4540079686600943a64780676534504f8e210341ed3dc5588bd781b2

See more details on using hashes here.

File details

Details for the file affinidi_tdk_iota_client-1.57.0-py3-none-any.whl.

File metadata

File hashes

Hashes for affinidi_tdk_iota_client-1.57.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70e456d2955e4ed81b56c6d39123d27ff9b53d5476dfccb8455fd085d55ff3ce
MD5 4576230c9af7b592a79b6b91fdaac02c
BLAKE2b-256 ec7961d2918144c7783852f1e697be6e4b898273cf0432f36212a386e5a83ae9

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