validio-sdk documentation
Getting started
The Validio SDK mainly provides functionality to interact with the API, through a GraphQL client. The GraphQL client sets up authentication based on the configured credentials and uses proper types for both requests and responses. The Validio SDK enables:
Type safe request-response cycle.
Automatic in-line documentation on types and functions.
Full support for integration with any tool and automation.
You can install the Validio SDK through PyPI by running pip install validio-sdk.
import asyncio
import os
from validio_sdk.validio_client import ValidioAPIClient, ValidioConfig
async def main():
client = ValidioAPIClient(
validio_config=ValidioConfig(
endpoint="https://validio.my-company.com",
access_key=os.getenv("VALIDIO_ACCESS_KEY"),
access_secret=os.getenv("VALIDIO_ACCESS_SECRET"),
)
)
sources = await client.list_sources()
for source in sources:
print(source.name)
if __name__ == "__main__":
asyncio.run(main())