ddx-interactions-api
Interactions API documentation
Python client for the DDx Interactions API, generated from its OpenAPI specification.
- API version: v1
- Package version: 0.2.0
- Generator version: 7.10.0
For more information, please visit https://demexchange.com/.
Requirements
Python 3.8+
Installation
pip install ddx-interactions-api
Then import the package:
import ddx_interactions_api
Changelog
API changes are recorded in the changelog, regenerated from a diff of the OpenAPI specification on each sync. Entries marked breaking require a change on the consumer side.
Reporting issues
This package is generated; edits to it are overwritten on the next spec sync. Report problems against the API specification rather than the generated code.
Getting Started
import ddx_interactions_api
from ddx_interactions_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.movementinfrastructure.org
# See configuration.py for a list of all supported configuration parameters.
configuration = ddx_interactions_api.Configuration(
host = "https://api.movementinfrastructure.org"
)
# 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 HTTP basic authorization: Basic
configuration = ddx_interactions_api.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Enter a context with an instance of the API client
with ddx_interactions_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ddx_interactions_api.AuthenticationDetailsApi(api_client)
version = '1' # str | (default to '1')
try:
# Get authentication context
api_response = api_instance.vversion_auth_me_get(version)
print("The response of AuthenticationDetailsApi->vversion_auth_me_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AuthenticationDetailsApi->vversion_auth_me_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.movementinfrastructure.org
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthenticationDetailsApi | vversion_auth_me_get | GET /v{version}/auth/me | Get authentication context |
| InteractionsApi | vversion_interactions_exchange_status_get | GET /v{version}/interactions/exchange-status | Get Exchange pipeline statuses by correlation or interaction ID |
| InteractionsApi | vversion_interactions_exchange_status_range_get | GET /v{version}/interactions/exchange-status/range | Get Exchange pipeline statuses by date range |
| InteractionsApi | vversion_interactions_interaction_id_transactions_get | GET /v{version}/interactions/{interactionId}/transactions | Get external API transactions by interactionId |
| InteractionsApi | vversion_interactions_post | POST /v{version}/interactions | Post interactions data |
| InteractionsApi | vversion_interactions_transactions_get | GET /v{version}/interactions/transactions | Get external API transaction logs by date range |
Documentation For Models
- AcceptedInteractionDto
- AcceptedInteractionsDto
- ActivistCode
- ActivistCodeOutcomeDetails
- Address
- AddressChannelDetails
- CanvasserDetails
- CommitteeDetails
- CommunicationConsent
- CommunicationConsentOutcomeDetails
- CommunicationConsentStatus
- ContactInfo
- ContactMethod
- DynamicChannelDetails
- DynamicOutcomeDetails
- EventDetails
- EventRole
- EventSignup
- EventSignupOutcomeDetails
- EventSignupStatus
- EventSignupStatusValue
- ExchangeInteractionStatus
- ExchangeInteractionStatusDto
- ExchangeInteractionStatusDtoCursorPaginatedResponseDto
- ExternalApiKeyStatus
- ExternalApiKeyType
- ExternalTransactionStatus
- InitiativeDto
- InteractionDto
- InteractionDtoChannel
- InteractionDtoOutcomesDetailedInner
- InteractionErrorDto
- InteractionVanFieldsDto
- InteractionsBatchResultDto
- InteractionsDto
- InteractionsExternalApiTransactionDto
- InteractionsExternalApiTransactionDtoGetResponseDto
- InteractionsExternalApiTransactionLogDto
- MercuryDestinationVanApiKeyDto
- MinervaMetadataDto
- Outcome
- OutcomeDetailOperation
- PersonIdentifier
- RejectedInteractionDto
- RejectedInteractionsDto
- SimpleDestinationDto
- SimpleMovementAppDto
- SimpleWorkspaceDto
- SurveyResponse
- SurveyResponseOutcomeDetails
- VanApiKeyDto
- VanDatabaseMode
- WhoAmIApiKeyDto
- WorkspaceTypeDto
Documentation For Authorization
Authentication schemes defined for the API:
Basic
- Type: HTTP basic authentication
Author
Metadata
Release files for ddx-interactions-api 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ddx_interactions_api-0.2.0.tar.gz | 46.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ddx_interactions_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 151.5 kB
Release files / ddx_interactions_api-0.2.0.tar.gz
| Download URL | ddx_interactions_api-0.2.0.tar.gz |
|---|---|
| Size | 46.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92a1f0d7dd0e65c1e96e47d8d68c08df26e9e9595e61d44cef180cf12adb60f
|
|
BLAKE2b-256 checksum How to use checksums |
784d331b9dbac3dbd2518ce068edc1723dcf9cf5bc0ecaee3c69ab2b8e79ddf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency logRelease files / ddx_interactions_api-0.2.0-py3-none-any.whl
| Download URL | ddx_interactions_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 105.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a91ee5ec9b49fdb5b1572a9c52735413cd84e9d2389dc350e19e58ff7b312a06
|
|
BLAKE2b-256 checksum How to use checksums |
887e8564f3089af6c006d46b9eed580858e604021cb8d47912f5bdbd0d711462
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency log