Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Releases: TrainerDex/TrainerDex.py

4.0.3

24 Oct 20:43

Choose a tag to compare

Cast extra_data to str via json.dumps() on _v1_create_social_connection

Full Changelog: 4.0.2...4.0.3

4.0.2

19 Oct 22:00
c4b31ec

Choose a tag to compare

  • Provide a default for extra_data on add_social_connection

4.0.1

19 Oct 21:47
d2f3f7d

Choose a tag to compare

  • Changed the HTTP method of the create_social_account call, as it only takes GET and PUT on the server, but we we're using POST.

4.0.0

01 Oct 10:31
3dd070c

Choose a tag to compare

Refactored the library to support alternative forms of authentication (OAuth soon!)
Whilst the interface is mostly the same, I plan to be adding features in upcoming minor releases.

Added

  • Add aggregations to trainerdex.api.leaderboard.BaseLeaderboard and it's children
  • trainerdex.api.leaderboard.Aggregations class
  • trainerdex.api.leaderboard.CommunityLeaderboard class
  • trainerdex.api.leaderboard.CountryLeaderboard class
  • Completely rewritten HTTP module!
  • Auth framework
  • Better type annotations

Changed

  • Moved the entire library from trainerdex to trainerdex.api to allow other libraries to share the trainerdex namespace in future.
  • Removed dependency on Discord.py
  • Fixed Typo in UserAgent
  • Changed domain to trainerdex.app
  • Removed several unnecessary API calls

Removed

  • Removed PartialUpdate class
  • Dropped support for Python 3.7

Full Changelog: 3.6.2...4.0.0

4.0.0a9

01 Oct 10:04
417bc8d

Choose a tag to compare

4.0.0a9 Pre-release
Pre-release

Full Changelog: 4.0.0a8...4.0.0a9

4.0.0a8

01 Oct 09:56
7325d54

Choose a tag to compare

4.0.0a8 Pre-release
Pre-release

Full Changelog: 4.0.0a7...4.0.0a8

4.0.0a7

01 Oct 09:40
edc27bc

Choose a tag to compare

4.0.0a7 Pre-release
Pre-release

Full Changelog: 4.0.0a6...4.0.0a7

4.0.0a6

01 Oct 01:22
6634f2b

Choose a tag to compare

4.0.0a6 Pre-release
Pre-release

Full Changelog: 4.0.0a5...4.0.0a6

4.0.0a5

01 Oct 01:07
425480a

Choose a tag to compare

4.0.0a5 Pre-release
Pre-release

Full Changelog: 4.0.0a4...4.0.0a5

4.0.0a4

01 Oct 00:57
3462783

Choose a tag to compare

4.0.0a4 Pre-release
Pre-release

Full Changelog: 4.0.0a3...4.0.0a4