Skip to content
DevRuby edited this page May 1, 2023 · 3 revisions

Introduction

TrackerGG Library is an API-Wrapper for TrackerGG

Visit TrackerGG Developers to get API Key

Quick Example

importTrackerGGimportasyncioclient=TrackerGG.CSGOClient("YOUR_API_KEY")
profile=asyncio.run(client.get_profile("PLAYER_NAME OR ID"))
print(profile.segments[0].stats.time_played)

Output

Name : Time Played
Value : 1,236h
Percentile : 84.0

Clone this wiki locally