PopCatWrapper is an asynchronous wrapper for https://popcat.xyz/api
Project description
An async API wrapper around popcat-api
Project development has been paused till April, 2023
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
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.8.tar.gz.
File metadata
- Download URL: PopCatAPIWrapper-0.0.8.tar.gz
- Upload date:
- Size: 7.4 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 |
960b95e9370f81a85b88c38b612cf5a9012bd9263e25934fb41c479cb304a9ec
|
|
| MD5 |
76d2e4b956590129da1bfb812ad18c76
|
|
| BLAKE2b-256 |
feffe11ff2f7d3f5fd1ec310caa10b21aa7d2f6d1b6cdc724463bb8b1594d794
|
File details
Details for the file PopCatAPIWrapper-0.0.8-py3-none-any.whl.
File metadata
- Download URL: PopCatAPIWrapper-0.0.8-py3-none-any.whl
- Upload date:
- Size: 11.9 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 |
306f98dad0c2abdb7c5704482a883e1d4556ebda0275f2613fdbb6e0da14eb5d
|
|
| MD5 |
4f3c82549d37a8915e5c7b9e8fcf7570
|
|
| BLAKE2b-256 |
9828ff9a9734c4ef65d7b76f1895303a706fd75a0bf726f5d9a6010384436816
|