Repository

Vlang MCUUID

Simple Minecraft IGN/UUID lookup library (Inspired by MCUUID PyPi ) written in Vlang

Example

import mcuuid { mcuuid }


fn main() {
    // Fetch uuid by username
    player := mcuuid("illyum")
    println("Your UUID is: " + player.uuid)
    
    // Fetch name by uuid
    player := mcuuid("24c182c6-716b-47c6-8f60-a1be9045c449")  // '-' are optional
    println("Your name is: " + player.name)
}

Notes

  • Currently there isn't any error handling/checking
  • Only runs synchronously (no async)
  • Made with Vlang 0.4.1 9a4fbc

Contributing

If you'd like to contribute, feel free. Probably only going to be me using this anyways...

Authors

@illyum

Version History

  • 0.2
    • Remove redundant struct
  • 0.1
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Inspiration, code snippets, etc.

About

Simple Minecraft IGN/UUID lookup library (Inspired by MCUUID PyPi)

0
3
last Sep 9

Author

itzilly