Current collected state Current
Observed since 20 Oct, 18:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A python library to use the Challonge API
async Challonge for Python 3.5+
Modern library that is more than just a wrapper for the Challonge web API
aiohttpOptional:
cchardet faster replacement for chardet, as mentionned on the aiohttp pageaiodns for speeding up DNS resolving, highly recommended by aiohttp3.53.63.7pip install achallonge
If you want to have the optional dependencies for aiohttp, you can:
pip install achallonge[speed]
import challonge
async def foo():
# Log in into Challonge with your CHALLONGE! API credentials (https://challonge.com/settings/developer).
user = await challonge.get_user('your_challonge_username', 'your_api_key')
# Retrieve your tournaments
tournaments = await user.get_tournaments()
# Tournaments, matches, and participants are all represented as Python classes
for t in tournaments:
print(t.id) # 3272
print(t.name) # 'My Awesome Tournament'
print(t.status) # 'open'
# Retrieve the participants for a given tournament.
participants = await tournaments[0].get_participants()
print(len(participants)) # 13
The full documentation can be found on Read the docs
Distributed under MIT license. See LICENSE for details
Fabien Poupineau (fp12) - 2017-2019
Twitter: @fp12gaming
Join the Discord Server and discuss about this lib!
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.9.0 | 2 Aug 2021 | 3 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:00df9e23b7cb95e051e63b03eaca39e94d8ab7d1f85c5aee59a99b1c04b9cac9