Skip to main content

Getting Minecraft Player Information from Mojang API.

Project description


Getting Minecraft Player Information from Mojang API.


  1. pip install mcuuid OR add the file to your Python path.
  2. Use the module like this:
from mcuuid import GetPlayerData

player = GetPlayerData(username)

if player.valid is True:
    uuid = player.uuid
    name = player.username

Read for some explaination.

When username = "gronkh": uuid will be "a2080281c2784181b961d99ed2f3347c" and name will be "Gronkh"

Test file


$ python gronkh


$ python
Please enter a username:


UUID: a2080281c2784181b961d99ed2f3347c
correct name: Gronkh


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.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

mcuuid-0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page