A Python wrapper for mineatar.io
You can install the package via pip:
pip install py-mineatarHere's an example of how to use the py-mineatar package:
from mineatar import MineatarClient
with MineatarClient() as client:
avatar_bytes = client.get_skin("069a79f4-44e9-4726-a5be-fca90e38aaf5") # Notch's UUID
# Save the avatar image
with open("notch_skin.png", "wb") as f:
f.write(avatar_bytes)import asyncio
from mineatar import AsyncMineatarClient
async def main():
async with AsyncMineatarClient() as client:
avatar_bytes = await client.get_skin("069a79f4-44e9-4726-a5be-fca90e38aaf5") # Notch's UUID
# Save the avatar image
with open("notch_skin.png", "wb") as f:
f.write(avatar_bytes)
asyncio.run(main())- Fast and easy access to Minecraft avatars and skins.
- Supports both synchronous and asynchronous operations.
- Simple and easy-to-use.
This project is licensed under the MIT License. See the LICENSE file for details
Contributions are welcome! Please feel free to submit a pull request or open an issue.