minecraftstatus is an asynchronous wrapper for https://api.iapetus11.me.
Project description
An async API wrapper around api.iapetus.me
Get started || Documentation
to get started, type this in your terminal
pip install -U minecraftstatus
or to install the main branch
pip install -U git+https://github.com/Infernum1/minecraftstatus
(make sure you have git installed)
Examples
For examples, checkout the examples directory
If you plan to use the lib in a discord bot
import discord
import minecraftstatus
client = minecraftstatus.MCStatus()
bot = discord.ext.commands.Bot()
@bot.command()
async def achievement(achievement: str):
image = await client.achievement(achievement)
file = discord.File(image, "achievement.png")
await ctx.send(file=file)
these are just examples! it's upto you how you want to use this lib.
Add Infernum#7041
on discord for help
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
minecraftstatus-0.0.9.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for minecraftstatus-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 332f6e82d33368432601cc8ea08350282c10caecfbb495235a8ae1d03945cba4 |
|
MD5 | c6aae76c0fd12c4b80e16b3cce022031 |
|
BLAKE2b-256 | 9773efb707e9438de369d89e02f4dfdffff76c4692aa29924ac32db037375883 |