Skip to main content

Client for RaidToolkit API access

Project description

RaidToolkit Client

This package provides access to the Raid Toolkit API

Installation

pip3 install raidtoolkit

Usage

To access APIs from RTK, simply call useRaidToolkitApi with the API definition you wish to access, and then call whatever APIs you'd like.

import asyncio
from raidtoolkit import RaidToolkitClient


async def main():
    client = RaidToolkitClient()
    client.connect()
    accounts = await client.AccountApi.get_accounts()
    print(accounts)
    account = await client.AccountApi.get_account_dump(accounts[0]["id"])
    print(account)
    client.close()

if __name__ == "__main__":
    asyncio.run(main())

APIs

AccountApi

API Description
getAccounts Fetch a list of all user accounts.
getAccountDump(accountId) Get an account dump for a given accountId, in RaidExtractor format.
getArtifacts(accountId) Get all artifacts for a given accountId
getArtifactById(accountId, artifactId) Get an artifact by id
getHeroes(accountId) Get all heroes for a given accountId
getHeroById(accountId, heroId) Get a hero by id
getAllResources(accountId) Get all resources for a given accountId

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

raidtoolkit-0.0.5.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

raidtoolkit-0.0.5-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page