Getting Minecraft Player Information from Mojang API.
Project description
MCUUID
Getting Minecraft Player Information from Mojang API.
Usage
pip install mcuuid
- Use the module like this:
from mcuuid.api import GetPlayerData
player = GetPlayerData(username)
if player.valid is True:
uuid = player.uuid
name = player.username
Read test.py
for some explaination.
When username = "gronkh"
:
uuid
will be "a2080281c2784181b961d99ed2f3347c"
and name
will be "Gronkh"
Test file
Usage
$ python test.py gronkh
or
$ python test.py
Please enter a username:
gronkh
Response:
UUID: a2080281c2784181b961d99ed2f3347c
correct name: Gronkh
License
This software is licensed under the MIT license. Feel free to use it however you like.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcuuid-0.1.2.tar.gz
(2.1 kB
view hashes)
Built Distribution
mcuuid-0.1.2-py3-none-any.whl
(4.2 kB
view hashes)