Skip to main content

Game Stat Library with Tracker API

Project description

TrackerGG

license Downloads Issues

Version Commits

Tracker

TrackerGG is a Tracker API Client

Install

pip install TrackerGG

Use

Example of getting csgo profile

import TrackerGG # import this library
import asyncio # asyncio library for calling async function

client = TrackerGG.Client('TOKEN') # replace 'TOKEN' with your token value.

def GetSync(profile):
    return client.get_csgo_profile(profile) # sync get

async def GetAsync(profile):
    return await client.async_get_csgo_profile(profile) #async get

print(GetSync("DevRuby").stats.kills.value) # print the value of kills with sync function
print(asyncio.run(GetAsync("DevRuby")).stats.kills.value) # print the value of kill with async function

Exceptions

ApiError

Incorrect Api Key

UserError

Can't find the user

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

TrackerGG-1.0.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

TrackerGG-1.0.2-py3-none-any.whl (6.6 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