Skip to content

Releases: arrayyandn/amari.py

v1.3.2

Choose a tag to compare

@arrayyandn arrayyandn released this 07 Jun 20:08

bug fixes

v1.3.0

Choose a tag to compare

@arrayyandn arrayyandn released this 10 Jan 22:26

What's New?

  1. Cache System Added

    • You can now enable caching by adding cache=True to your request.
    • This will save the result for faster use in future requests.
    response = await AmariClient(...).foo(.., cache=True)  # Caches the result
  2. Set Maximum Requests

    • You can now set the maximum number of requests allowed during initialization.
    my_object = AmariClient("token", max_requests=max_requests=10)  # Limits to 10 requests
  3. Async Context Manager Support

    • The class now supports async with, letting you use it like this:
    async with AmariClient("token") as obj:
        result = await obj.some_method(...)
  4. Bug Fix: Correct Return Value

    • Fixed an issue where the class object was being returned instead of the correct result (self).

v1.2.1 & v1.2

Choose a tag to compare

@AdamTuraj AdamTuraj released this 21 Mar 23:10

What's new?

  • Reworked and improved the AntiRatelimit feature

v1.2.1 was a quick fix of a major bug in v1.2

v1.1.13

Choose a tag to compare

@AdamTuraj AdamTuraj released this 17 Nov 21:20
12063aa

What's new?

  • Improved anti ratelimiting system
  • Renamed useAntiRatelimit to useantiratelimit
  • Improve type hints for certain methods
  • Made fetch users now require integer user ids instead of strings

v1.1.10

Choose a tag to compare

@AdamTuraj AdamTuraj released this 24 Oct 02:44
8717b0e
  • Adjust guild rewards to use roleID

v1.1.9

Choose a tag to compare

@AdamTuraj AdamTuraj released this 03 Oct 22:05

Bug fixes

v1.1.8

Choose a tag to compare

@AdamTuraj AdamTuraj released this 02 Oct 02:40
  • Added ability to disable AntiRatelimit system (Very unrecommended as can result in ratelimits)
  • Fixed issue from last update

v1.1.7

Choose a tag to compare

@AdamTuraj AdamTuraj released this 29 Sep 00:45
  • Added members endpoint which can fetch multiple members
  • Changed up fetch_full_leaderboard to fetch with 1 request

v1.1.6

Choose a tag to compare

@AdamTuraj AdamTuraj released this 28 Sep 18:57

Added caching for quicker multi requests!

Data is cached for 3 minutes, so multiple requests of the same person or guild will be faster and won't require a request!