MCSRRankedAPY - MCSR Ranked Statistics API Wrapper
Asynchronous wrapper for the MCSRRanked API
Features
- Full API coverage (API key usage not yet tested)
Installation
mcsrrankedapy is available from the official PyPI package index.
python -m pip install -U mcsrrankedapy
Documentation
The wrapper is almost 100% 1-to-1 consistent with the original JSON API. The only inconsistency is in the .users.get_versus_stats method. The API returns data with keys that depend on the query, which is unpythonic to implement in a Pydantic model. The wrapper instead creates a dict named per_player that matches the API's response.
The official MCSR Ranked API docs describe what specific fields get returned from specific endpoints.
Quick Start
from mcsrrankedapy import MCSRRankedAPYClient
import asyncio
async def main():
client = MCSRRankedAPYClient()
query = await client.users.get_data("lowk3y_")
print(query.connections.youtube.id) # prints UC_HX7WdiAWRZgcG7aOYtCNg
await client.close()
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for mcsrrankedapy 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcsrrankedapy-1.0.3.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcsrrankedapy-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / mcsrrankedapy-1.0.3.tar.gz
| Download URL | mcsrrankedapy-1.0.3.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e92e6230165ef0a0450de7a1cef6b0cfbf77d369ab0311622fb2f95eb320735
|
|
BLAKE2b-256 checksum How to use checksums |
a2587f1042e0388ed5b983d54c86dde982003065da67ee2e03e263061aa149a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / mcsrrankedapy-1.0.3-py3-none-any.whl
| Download URL | mcsrrankedapy-1.0.3-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b41d3df9d5f563bffa5d6e8df595cf51555f03cd3015029108ef31b3ae069667
|
|
BLAKE2b-256 checksum How to use checksums |
1b4a3323cbecacf1d1be413e0c2d2c626e57af5e872310869278ee9a3e53ddfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|