Skip to main content

Getting Minecraft Player Information from Mojang API.

Project description


Getting Minecraft Player Information from Mojang API.


  1. pip install mcuuid
  2. Use the module like this:


> from mcuuid import MCUUID
> player = MCUUID(name="gronkh")
> player.names
{0: 'Gronkh'}
> player.uuid

You can also use an existing uuid to start from:

> player = MCUUID(uuid="a2080281c2784181b961d99ed2f3347c")


Check syntax of an username:

>from import is_valid_minecraft_username
> is_valid_minecraft_username('gronkh'):

Check syntax of an UUID:

> from import is_valid_mojang_uuid
> is_valid_mojang_uuid('a2080281c2784181b961d99ed2f3347c'):

Version information

There is a wrapper around the new MCUUID class to still be usable using former api versions. They are deprecated and not recommended for future use.


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

Uploaded Source

Built Distribution

mcuuid-1.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page