Skip to main content

An API to interact with TrainerDex - a online database of Pokemon Go trainers.

Reason this release was yanked:

leaderboad title error

Project description

https://badge.fury.io/py/trainerdex.svg

A python library for interacting with the API of TrainerDex

Installation

pip install trainerdex

Update Notes

2.0.3

Support for blank leaderboard command

2.0.2

  • Indentifier for updates

2.0.1

  • Rewrite for website upgrade

1.4.3.1

  • Enabled SSL

  • Fixed issue with not supplying a datetime when creating a update

1.4.2

  • To suppliment 1.3.4, you can now add medals to the updates.

  • Fixed a bug when start_date is null

  • Fixed a major bug

  • Replaces 1.4.1 and 1.4.0 which will be removed from PyPi

1.3.4

  • Added more fields to update_trainer

  • Replaced 1.3.3 which introduced a bug

1.3.2

  • Added respect_privacy flag passthrough to get_trainer_by_username

1.3.1

  • Fixed an issue which caused Trainers with statistics disabled to not load

1.3.0

  • Attributes which made another API call are now methods. For example, Trainer().owner is now Trainer().owner()

  • User objects are now hashable and comparable

  • Two new methods have been introduced to Client() - get_all_users and get_all_discord_users

1.2.3

  • Fixed error preventing a user from being added to the database

  • Added function to find the Trainer for an update - likely never to be used but still better than it being blind

  • Fixed an error when retrieving a list of trainers from a list of server members

  • Fixed an error in which the levels had the wrong value required to finish it

  • Fixed an error in which a Trainer would spit out an error trying to calculate the level if there’s no Update object (edge case, during creation)

1.2.2

  • Fixed a bug which would cause an error when trying to retrieve the Discord ID for a user

  • Minor cleanup of source-code

1.2.1

  • Improved speed of the library by changing how things are parsed

1.2.0

  • Initial upload to PyPi

  • A major rewrite. This should have been called version 2.0.0, but it’s too late now.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trainerdex-2.1.0.1.tar.gz (8.3 kB view details)

Uploaded Source

File details

Details for the file trainerdex-2.1.0.1.tar.gz.

File metadata

  • Download URL: trainerdex-2.1.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for trainerdex-2.1.0.1.tar.gz
Algorithm Hash digest
SHA256 ea4834898f8727ca59dfe0a35480e159ccc7f32fc9c1807bbbf17ec3814328fd
MD5 949d68cf610fb96a37665d92d0ed221b
BLAKE2b-256 0373814e95376689fac2e68feba072000b42abfabff44efabc7613be0200e9b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page