Vairified Python SDK¶
Official Python SDK for the Vairified Partner API. Async-first, object-oriented design for easy integration with player ratings, search, and match submission.
Contents:
Installation¶
Install from PyPI:
pip install vairified
Or with UV:
uv add vairified
Quick Example¶
import asyncio
from vairified import Vairified
async def main():
async with Vairified(api_key="vair_pk_xxx") as client:
member = await client.get_member("user_123")
print(f"{member.name}: {member.rating}")
asyncio.run(main())
Features¶
Async-first: Built on
httpxfor modern async/await patternsObject-oriented: Rich models with methods (
member.refresh(),results.next_page())Type-safe: Full type hints for IDE autocompletion
OAuth support: Full OAuth flow for player consent and token management
Environment support: Switch between production, staging, and local environments
Dry-run mode: Test integrations without affecting production data