Go to file
MrLolEthan ec6099421b Improve robustness: surround the 'id' fetch from result array with a try clause. 2015-04-07 21:09:32 -02:30
.gitignore Initial commit. 2015-03-11 16:46:17 -02:30
LICENSE.txt Add license (MIT). 2015-03-11 17:09:44 -02:30
README.md Update README. 2015-03-11 17:11:43 -02:30
test.py Initial commit. 2015-03-11 16:46:17 -02:30
username_to_uuid.py Improve robustness: surround the 'id' fetch from result array with a try clause. 2015-04-07 21:09:32 -02:30

README.md

Minecraft Username to UUID

Convert old Minecraft usernames to their UUID. Written for Python3.

Usage

  1. Add the username_to_uuid.py file to your Python path.
  2. Use the library like this:
from username_to_uuid import UsernameToUUID

converter = UsernameToUUID("MrLolEthan")
uuid = converter.get_uuid()

... # Do stuff

The contents of uuid will now be: 854dd5e0fe044568a787053417ea6335

License

This software is licensed under the MIT license. Feel free to use it however you like.