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 PopCatWrapper

or to install the main branch

pip install -U git+https://github.com/Infernum1/PopCatWrapper
(make sure you have git installed)

Examples

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.3.tar.gz (7.9 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.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.3.tar.gz
  • Upload date:
  • Size: 7.9 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.3.tar.gz
Algorithm Hash digest
SHA256 5a28bbfa19fb61b6a1c7c4ee8487b3d873b37c48b8b1789871e67925bd995636
MD5 332473083c38c1b414e1ed5cd5c2b147
BLAKE2b-256 b184a31af277056049f82169a08f00e3c646229769faa61114649ce68d71db0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4e1c8afd694d8efcd4eb1a105da0cae85059aab281b172e227a1203a5265e58
MD5 a61d2420d4fd51527db6b1c026015d5a
BLAKE2b-256 8c4a8b61af3fd3b23d7f74bfe95474a056cd18f56ace10f23604ac17ff12a82d

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