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

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.5.tar.gz (8.4 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.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.5.tar.gz
  • Upload date:
  • Size: 8.4 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.5.tar.gz
Algorithm Hash digest
SHA256 e81bfa6b6bd2cba6bc14db6dbf05c94ac471b43c5a59d70e07c5f7fa000effd7
MD5 5525c7eea02e1451c4d0fbe985744248
BLAKE2b-256 280e32d4a513d5fc24059844c0f5e198cc8b04ef3531e25ffdee83e27f289cc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c267d8d25180f5e609c280741c8b576bac889c5956e6e7822e560062c18117d6
MD5 ceb1b468147fa5c12fa73d695aa0b7a4
BLAKE2b-256 a4ec1f718298427abab508e4e55f19e594ff00bf4dc71e9ffc450fbaf88b7112

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