Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Major API Sets #1

Merged
merged 4 commits into from
Mar 29, 2023
Merged

Change Major API Sets #1

merged 4 commits into from
Mar 29, 2023

Conversation

dev-ruby
Copy link
Owner

import TrackerGG
import asyncio


client = TrackerGG.CSGOClient(API_KEY)

profile = asyncio.run(client.get_profile(PLAYER_ID))

print(profile.segments[0].stats[0])
  • LICENSE: Update copyright year
  • TrackerGG/init.py: Update init.py
  • TrackerGG/client.py: Add CSGOClient class
  • TrackerGG/httpclient.py: Add RequestMethod Enum, Route Class, ResponseData Class, HTTPClient class
  • TrackerGG/Models Create Models package
  • TrackerGG/Models/csgo.py: Add CSGOProfile class
  • TrackerGG/Models/platform.py: Add Platform Enum, PlatformInfo Class
  • TrackerGG/Models/segment.py: Add Stat Class, Segment Class
  • TrackerGG/Models/user.py: Add SocialAccount Class, UserInfo class
  • TrackerGG/exceptions.py: Delete TrackerGG/exceptions.py
  • TrackerGG/info.py: Delete TrackerGG/info.py
  • TrackerGG/models.py: Delete TrackerGG/models.py
  • setup.py: Update version, email, description

- LICENSE: Update copyright year
- TrackerGG/__init__.py: Update __init__.py
- TrackerGG/client.py: Add `CSGOClient` class
- TrackerGG/httpclient.py: Add `RequestMethod` Enum, `Route` Class, `ResponseData` Class, `HTTPClient` class
- TrackerGG/Models Create Models package
- TrackerGG/Models/csgo.py: Add `CSGOProfile` class
- TrackerGG/Models/platform.py: Add `Platform` Enum, `PlatformInfo` Class
- TrackerGG/Models/segment.py: Add `Stat` Class, `Segment` Class
- TrackerGG/Models/user.py: Add `SocialAccount` Class, `UserInfo` class
- TrackerGG/exceptions.py: Delete TrackerGG/exceptions.py
- TrackerGG/info.py: Delete TrackerGG/info.py
- TrackerGG/models.py: Delete TrackerGG/models.py
- TrackerGG/__init__.py: Sort imports
- TrackerGG/client.py: Sort imports
- TrackerGG/httpclient.py: Sort imports
- TrackerGG/csgo.py: Sort imports
- setup.py: Update version, email, description
Copy link
Owner Author

@dev-ruby dev-ruby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@dev-ruby dev-ruby merged commit 8e0b3db into main Mar 29, 2023
@dev-ruby dev-ruby deleted the dev branch March 29, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant