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

For examples, checkout 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.1.tar.gz (7.8 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.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 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.1.tar.gz
Algorithm Hash digest
SHA256 711edfca2a278c63895751bcbf4f87e05be64eb40a6921193438bc92f703c64b
MD5 c8c9a32ceb5845650384f03201e9f3bf
BLAKE2b-256 82e7a0edcdb1ae0aad952aa93e4f7214527ce61c587097ec9870fa464c385137

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8fbf30f05952c710090d80b0e359c8895f4928fec652cf152cdc5179799c3c25
MD5 a52374fbf63ce9abd6defe3c95f1a0e4
BLAKE2b-256 74890ce2177ca690840976e2433858b462e2844d45292936fc3f8a4b62ee9b12

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