Skip to main content

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.6.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PopCatAPIWrapper-0.0.6-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file PopCatAPIWrapper-0.0.6.tar.gz.

File metadata

  • Download URL: PopCatAPIWrapper-0.0.6.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Windows/10

File hashes

Hashes for PopCatAPIWrapper-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9268031971795c9fcbe63bf3fb9ee5cf8addf701f8d163855c435958c6317158
MD5 afa05e18adea80b39a1e365fe112a4e5
BLAKE2b-256 05da7cdc694c258f859b21f3d0b4b7ecd4a3d5197435949180e9a4e8b9f12d03

See more details on using hashes here.

File details

Details for the file PopCatAPIWrapper-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: PopCatAPIWrapper-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Windows/10

File hashes

Hashes for PopCatAPIWrapper-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 420f1175bd1b89606fad151b01aa2219b7d547d93014541ae0b6553c49c31ab7
MD5 e279ca31e1912a608019cb4d26d774b7
BLAKE2b-256 35495c8aac56868d82f156564d712627d6022d0bc6545671573f33d5975a903c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page