PopCatWrapper is an asynchronous wrapper for https://popcat.xyz/api
Project description
An async API wrapper around popcat-api
Get started || Documentation
to get started, type this in your terminal
pip install -U popcatapiwrapper
or to install the main branch
pip install -U git+https://github.com/Infernum1/PopCatWrapper
(make sure you have git installed)
Examples
For a list of examples of each endpoint, take a look at the examples directory
If you plan to use the lib in a discord bot
import discord
import PopCatWrapper
client = PopCatWrapper.PopCatAPI()
bot = discord.ext.commands.Bot()
@bot.command()
async def element(element: str): #you can feed either the atomic number, symbol, or element name
image = await client.get_element_info(element)
await ctx.send(content=element.summary)
these are just examples! it's upto you how you want to use this lib.
Add Infernum#7041 on discord for help
You're welcome to make a Pull Request if you feel something can be improved :)
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
PopCatAPIWrapper-0.0.7.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PopCatAPIWrapper-0.0.7.tar.gz.
File metadata
- Download URL: PopCatAPIWrapper-0.0.7.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
761c2fd2eaa4d7a5fdf14447cf1c655571e2676a912d26d3d6cf7e8a64f076f9
|
|
| MD5 |
9c8c028038053da0e3fdc5d3f57312cc
|
|
| BLAKE2b-256 |
4d6cf472cc06e6504728e11bc5a657e4ee146e0fa93286c629178e63309dafb2
|
File details
Details for the file PopCatAPIWrapper-0.0.7-py3-none-any.whl.
File metadata
- Download URL: PopCatAPIWrapper-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2592665f9339848e5b11d5a6db387f72cfea89f4089ffd0fb39b0357c1845508
|
|
| MD5 |
75a7fffb44447a33046c72d95ccfcc9f
|
|
| BLAKE2b-256 |
4f5658c13e0ff719f23886b93ee4907cfba56db680507ca32d5a0b29bb2cc951
|