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.8.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file minecraftstatus-0.0.8.tar.gz
.
File metadata
- Download URL: minecraftstatus-0.0.8.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162d9da4c54bfb3219a8dd0bca09e93283e554f38676d4a0df9d14b1e9aaefd3 |
|
MD5 | 6604aaeb912bc0a1268831ea4156df75 |
|
BLAKE2b-256 | 4acb4bfd493553ab86ff60df4b8fe68f35ad27e9e4916afccee6f1def46cdefd |
File details
Details for the file minecraftstatus-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: minecraftstatus-0.0.8-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.4 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5f800aecf6b87a35cb50dfb0628d72ad5d7a319d4836dfb262d8400da442a5 |
|
MD5 | 3fc63d83f36ac8bc7f0125e23fb25e7e |
|
BLAKE2b-256 | aa7c9592f014fce8dc0d565b1db650d4eb3045d342dfffeee624ba0880cb82de |