minecraftstatus is an asynchronous wrapper for https://api.iapetus11.me.
Project description
An async API wrapper around api.iapetus.me
Get started
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.
Join the discord server for support.
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.6.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file minecraftstatus-0.0.6.tar.gz
.
File metadata
- Download URL: minecraftstatus-0.0.6.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d111e2c7efb4a176181fec91f3f75b88aac4fb97d9d39962438e201ca032dcb5 |
|
MD5 | 550a5af865531e640adb569bf14453d1 |
|
BLAKE2b-256 | 012fb3979e8866596f4b69188ceaf737a9c60d22e4af8fb9d7c5a89a02136813 |
File details
Details for the file minecraftstatus-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: minecraftstatus-0.0.6-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac45a11dae362dbcf37634c5516aa29c4769f420422f0bfb048b41baf4242b5 |
|
MD5 | 8d41c3ceff8e8122c4c939bb303bcc79 |
|
BLAKE2b-256 | 5215d9599db9a4c7d551730356005dc05ee74f3af6fbb0caeb79454dafa1d967 |