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.2.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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 58a97941d05b80f91aa27a441e1a886fb5282f5d59ad2a3bf2e448b342080371
MD5 25de4656545a62b4616b3f2538c6ca20
BLAKE2b-256 e3f9512e82e27cdd438d08e3a63a7f2977881732bca30b23091a5c160718eff7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32d32134fa9384f8c3211eab2be018ef94acb51c0b7ef9feb9b72c0ce00e2b54
MD5 9c54ceb755d17e2ec971d718dd2d61d6
BLAKE2b-256 e03462d6f9688b740409143768b91e442e7bd9f18384371439a3b4358f909847

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