2015-03-11 20:20:20 +01:00
|
|
|
# Minecraft Username to UUID
|
2015-03-11 20:33:53 +01:00
|
|
|
Convert old Minecraft usernames to their UUID.
|
|
|
|
Written for Python3.
|
2015-03-11 20:20:20 +01:00
|
|
|
|
2015-03-11 20:34:28 +01:00
|
|
|
## Usage
|
2015-03-11 20:20:20 +01:00
|
|
|
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`
|
|
|
|
|
2015-03-11 20:39:44 +01:00
|
|
|
## License
|
|
|
|
This software is licensed under the MIT license. Feel free to use it however you like, just be sure to give credit.
|