Py-tmio

Latest version: v0.4.6

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.4.1

* Add `typing-extensions` to documentation requirements
* Only cache player data for 6 hours.
* Add Trophy 9 to `def score()` in `PlayerTrophies` class.

**Full Changelog**: https://github.com/NottCurious/py-tmio/compare/v0.4.0...v0.4.1

0.4.0

Breaking Changes
* Renamed many `.get()` functions to be more specific to the classes they belong to.

Other Changes
* Import `tmx.py` classes to `__init__.py`
* Add `__all__` attribute to `tmx.py`
* Remove `trackmania.api` and `trackmania.constants` from `docs/trackmania.rst`
* Only store `player_name`, `player_id` and `player_club_tag` in `Leaderboard` class.
* Add a function to get the player of that specific leaderboard to `Leaderboard` class.
* Add indent to `__init__.py` docstring.
* `Player.search` returns a list even if there is only 1 player with the given username.
* Removed unnecessary commented code in `Player._parse_player`.
* Optimize `Player._parse_player` by removing `if` statements and using `my_dict.get(key)` instead.
* Optimize all `class._from_dict()` by removing `if` statements and using `my_dict.get(key)` instead.
* Change `list_ads` and `get_ad` to classmethods.
* Change build functions in `constants.py` to classmethods.
* Cleanup `matchmaking.py`.
* Create `__str__` for `PlayerMatchmaking`.
* Create `__str__` for `PlayerTrophies`.
* Removed docstrings for private functions
* Improve consistency across modules.
* Create `to_string` static function for `PlayerZone` class.
* Fix loop in `.load_more_leaderboard()` using the wrong variable.
* Rename `rate_vote_average` variable to `rating_vote_average`.
* Rename `embedded_items_size` variable to `embedded_objects_size`.
* Fix tags variable using incorrect dictionary key in `TMXMap._from_dict()`.
* Add caching for `.load_more_leaderboard()` function.
* Create new class for `TrophyLeaderboardPlayer`.
* Update `PlayerTrophies.top()` to return a list of above class.
* Use `strobj.join()` function for `PlayerZone.to_string` to get rid of unnecessary extra commas.
* Small Fixes in docstrings.
* Rename `_TMIO` and `_TMX` in docstrings to `TMIO` and `TMX`.
* Fix some class type hints in docstrings.
* Fix docstring for `trophy_obj.score()` that was breaking the entire file.
* Add `TrophyLeaderboardPlayer` to `trophy.py __all__`.
* 2 Basic Examples.
* Example to get player's cotd stats.
* Example to get data on the latest totd.
* Add "Accept" and "Content-Type" headers for API Request. Both set to "application/json".
* Add `RATELIMIT_RESET` field to `config.Client` and fix bugs with Ratelimit monitoring. Fix 21.
* Small Updates to Docstrings.

**Full Changelog**: https://github.com/NottCurious/py-tmio/compare/v0.3.3...v0.4.0

0.4.0b1

Breaking Changes
* Renamed many `.get()` functions to be more specific to the classes they belong to.

Other Changes
* Import `tmx.py` classes to `__init__.py`
* Add `__all__` attribute to `tmx.py`
* Remove `trackmania.api` and `trackmania.constants` from `docs/trackmania.rst`
* Only store `player_name`, `player_id` and `player_club_tag` in `Leaderboard` class.
* Add a function to get the player of that specific leaderboard to `Leaderboard` class.
* Add indent to `__init__.py` docstring.
* `Player.search` returns a list even if there is only 1 player with the given username.
* Removed unnecessary commented code in `Player._parse_player`.
* Optimize `Player._parse_player` by removing `if` statements and using `my_dict.get(key)` instead.
* Optimize all `class._from_dict()` by removing `if` statements and using `my_dict.get(key)` instead.
* Change `list_ads` and `get_ad` to classmethods.
* Change build functions in `constants.py` to classmethods.
* Cleanup `matchmaking.py`.
* Create `__str__` for `PlayerMatchmaking`.
* Create `__str__` for `PlayerTrophies`.
* Removed docstrings for private functions
* Improve consistency across modules.
* Create `to_string` static function for `PlayerZone` class.
* Fix loop in `.load_more_leaderboard()` using the wrong variable.
* Rename `rate_vote_average` variable to `rating_vote_average`.
* Rename `embedded_items_size` variable to `embedded_objects_size`.
* Fix tags variable using incorrect dictionary key in `TMXMap._from_dict()`.
* Add caching for `.load_more_leaderboard()` function.
* Create new class for `TrophyLeaderboardPlayer`.
* Update `PlayerTrophies.top()` to return a list of above class.
* Use `strobj.join()` function for `PlayerZone.to_string` to get rid of unnecessary extra commas.
* Small Fixes in docstrings.

0.3.3

* Fix `Player.__parse_zones` loop from not firing
* Add required classes for `TMXMap` class
* Add `trackmania.tmx` to the docs
* `TMXMap.get(tmx_id)` command

**Full Changelog**: https://github.com/NottCurious/py-tmio/compare/v0.3.2...v0.3.3

0.3.2

* Fix `Player.get` failing when player has never played trackmania
* Create `latest_totd` command. Static function, `TOTD` class

**Full Changelog**: https://github.com/NottCurious/py-tmio/compare/v0.3.1...v0.3.2

0.3.1

* Remove `latest_totd` example from README
* Update `__all__` for `trackmania.errors`
* Remove `python-dotenv` from requirements
* Updated README with Support server link
* Fix `Player.get_id(username)` function from breaking when the player with the given username does not exist.

**Full Changelog**: https://github.com/NottCurious/py-tmio/compare/v0.3.0...v0.3.1

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.