yggdrasil-mc
A simple Python lib to get player info and texture from Mojang and Yggdrasil APIs.
一个简单的 Python 库,可从 Mojang 和 Yggdrasil APIs 获取玩家的信息和材质。
⚠️ Attention
This package can be used with Python 3.10+.
Usage
pip3 install yggdrasil-mc
from yggdrasil_mc.client import YggdrasilMC
ygg = YggdrasilMC()
await ygg.by_name_async("SerinaNya")
# return PlayerProfile
PlayerProfile(
id='8705a5560b7447e8ba869169c31fb5ef',
name='SerinaNya',
skin=PlayerSkin(
url=Url('http://textures.minecraft.net/texture/7781fa8ed3e2aa907944ec0f1ec391ad05955eb9c6424d911d409b00a69ea516'),
metadata=PlayerSkin_MetaData(model='slim')),
cape=None)
Release files for yggdrasil-mc 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yggdrasil_mc-0.2.7.tar.gz | 15.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yggdrasil_mc-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.0 kB
Release files / yggdrasil_mc-0.2.7.tar.gz
| Download URL | yggdrasil_mc-0.2.7.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9ca5fc4a0418c5b6de124ca787a9152852dbe86cec98d90e90965049af8237a
|
|
BLAKE2b-256 checksum How to use checksums |
f47c2b022df3ce4ae4f00cc753671992d4c267fc75c6c578a04883b210763b4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
|
Release files / yggdrasil_mc-0.2.7-py3-none-any.whl
| Download URL | yggdrasil_mc-0.2.7-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28785a569f09c5b359aa9735b77ccc5926c50e6fdd656bc5fc8b263ed6f58289
|
|
BLAKE2b-256 checksum How to use checksums |
ceb3f51313514c297b16d8a1f63ec16ba7e8627f0cbd85294fc8180df11fd8e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure
|