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 https://github.com/affinidi/affinidi-tdk
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:
# Processes the callback for OIDC4VP flows
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 | Processes the callback for OIDC4VP flows |
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} | |
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 | delete_pex_queries | POST /v1/configurations/{configurationId}/delete-queries | deletes pex queries |
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 | |
IotaApi | save_pex_queries | POST /v1/configurations/{configurationId}/save-queries | |
PexQueryApi | create_pex_query | POST /v1/configurations/{configurationId}/pex-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 | update_pex_query_by_id | PATCH /v1/configurations/{configurationId}/pex-queries/{queryId} |
Documentation For Models
- AlreadyExistsError
- AwsExchangeCredentials
- AwsExchangeCredentialsOK
- AwsExchangeCredentialsProjectToken
- AwsExchangeCredentialsProjectTokenOK
- AwsExchangeCredentialsProjectTokenOKCredentials
- CallbackInput
- CallbackResponseOK
- CallbackResponseOKRedirectResponse
- ConsentDto
- CorsAwsExchangeCredentialsOK
- CorsAwsExchangeCredentialsProjectTokenOK
- CorsFetchIotaVpResponseOK
- CorsInitiateDataSharingRequestOK
- CorsIotOidc4vpcallbackOK
- CorsIotaExchangeCredentialsOK
- CreateIotaConfigurationInput
- CreatePexQueryInput
- DeletePexQueriesInput
- FetchIOTAVPResponseInput
- FetchIOTAVPResponseOK
- GetIotaConfigurationMetaDataOK
- InitiateDataSharingRequestInput
- InitiateDataSharingRequestOK
- InitiateDataSharingRequestOKData
- InvalidParameterError
- InvalidParameterErrorDetailsInner
- IotaConfigurationDto
- IotaConfigurationDtoClientMetadata
- IotaExchangeCredentials
- IotaExchangeCredentialsOK
- IotaExchangeCredentialsOKCredentials
- ListConfigurationOK
- ListLoggedConsentsOK
- ListPexQueriesOK
- MessagePublishingError
- NotFoundError
- OperationForbiddenError
- PexQueryDto
- PrepareRequest
- PrepareRequestCreated
- PrepareRequestCreatedData
- ResourceLimitExceededError
- SavePexQueriesUpdateInput
- SavePexQueriesUpdateInputQueriesInner
- UpdateConfigurationByIdInput
- UpdateConfigurationByIdOK
- UpdatePexQueryInput
- VPTokenValidationError
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file affinidi_tdk_iota_client-1.22.1.tar.gz
.
File metadata
- Download URL: affinidi_tdk_iota_client-1.22.1.tar.gz
- Upload date:
- Size: 41.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 841b74655a976475531b4f02a59087c723750a33e3326e16d61d22363ff0932b |
|
MD5 | c2a2ab726c25b73d8e8eee029a33f42b |
|
BLAKE2b-256 | b994a84d899101712825bb496596616c72ae94a045ffde39c5b3609af84f2a3b |
File details
Details for the file affinidi_tdk_iota_client-1.22.1-py3-none-any.whl
.
File metadata
- Download URL: affinidi_tdk_iota_client-1.22.1-py3-none-any.whl
- Upload date:
- Size: 100.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300d40c0118713949fefec126e1b5f85e3d3c92c57fd68fe500a8bf23555aaed |
|
MD5 | 740fedbfcc7f312f2b08cab89dcd8bfe |
|
BLAKE2b-256 | 01cd5f2ff4a55470217ed0416c700708ba3df9a5d5b68132e4a55737c2ce93d2 |