|
1 | 1 | <div align="center"> |
2 | | - |
3 | | -# TrackerGG |
4 | | - |
5 | | - |
6 | | -[](https://pepy.tech/project/trackergg) |
7 | | -[](https://pepy.tech/project/trackergg) |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | 2 |
|
| 3 | +</br> |
13 | 4 |
|
14 | 5 |  |
15 | 6 |
|
16 | | -**An Unofficual API Wrapper for [TrackerGG API](https://tracker.gg/developers)** |
17 | | - |
| 7 | +<p align="center"><em>An Unofficual API Wrapper for <a href=https://tracker.gg/developers>TrackerGG API</a></em></p> |
18 | 8 |
|
| 9 | +[](https://pepy.tech/project/trackergg) |
| 10 | +[](https://pepy.tech/project/trackergg) |
| 11 | + |
19 | 12 |
|
20 | | -# [Wiki](https://github.com/dev-ruby/TrackerGG/wiki) |
21 | | - |
22 | | -</br> |
23 | | -</br> |
24 | | - |
25 | 13 | </div> |
26 | 14 |
|
27 | | -## Install |
28 | | - |
29 | | -```pip install TrackerGG``` |
30 | | - |
31 | | -Get API Key |
| 15 | +--- |
32 | 16 |
|
33 | | -[TrackerGG Developers](https://tracker.gg/developers) |
| 17 | +**Documentation** : [https://devruby.gitbook.io/trackergg/](https://devruby.gitbook.io/trackergg) |
34 | 18 |
|
| 19 | +**Source Code** : [https://github.com/dev-ruby/TrackerGG](https://github.com/dev-ruby/TrackerGG) |
35 | 20 |
|
36 | | -## **Quick Example** |
37 | | -```py |
38 | | -import TrackerGG |
39 | | -import asyncio |
| 21 | +**Pypi** : [https://pypi.org/project/TrackerGG](https://pypi.org/project/TrackerGG/) |
40 | 22 |
|
| 23 | +--- |
41 | 24 |
|
42 | | -client = TrackerGG.CSGOClient("YOUR_API_KEY") |
| 25 | +TrackerGG is an easy-to-use, async-ready API wrapper library for tracker.gg. |
43 | 26 |
|
44 | | -loop = asyncio.get_event_loop() |
| 27 | +### Key Features |
| 28 | +- Asynchronous processing support in the API for efficient task handling. |
| 29 | +- Intuitive and user-friendly design, making it convenient for all users to utilize. |
| 30 | +- Fast development speed and an intuitive interface to ensure quick and straightforward development. |
| 31 | +- Includes various convenient features to enhance usability and functionality. |
45 | 32 |
|
46 | | -profile = loop.run_until_complete(client.get_profile("PLAYER_NAME OR ID")) |
| 33 | +# Installing |
| 34 | +## Prerequisites |
| 35 | +TrackerGG is compatible with Python 3.7 and higher versions. |
47 | 36 |
|
48 | | -print(profile.segments[0].stats.time_played) |
| 37 | +Python 2 or versions prior to Python 3.7 might not work as expected. |
49 | 38 |
|
| 39 | +TrackerGG requires at least one of the following libraries: [aiohttp](https://pypi.org/project/aiohttp/) or [httpx](https://pypi.org/project/httpx/). |
| 40 | +## Installing |
| 41 | +```bash |
| 42 | +pip install TrackerGG |
50 | 43 | ``` |
51 | | -**Output** |
| 44 | +```bash |
| 45 | +python -m pip install TrackerGG |
52 | 46 | ``` |
53 | | -Name : Time Played |
54 | | -Value : 1,236h |
55 | | -Percentile : 84.0 |
| 47 | +```bash |
| 48 | +py -m pip install TrackerGG |
56 | 49 | ``` |
0 commit comments