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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.4.tar.gz
  • Upload date:
  • Size: 8.3 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.4.tar.gz
Algorithm Hash digest
SHA256 aed17bee6f32c1fc48c5f5d94594b96d2e6bd4d0332c9e9d08b7e0fa9ea89a63
MD5 cc8f294f27dfb10d56471d7cedbad36d
BLAKE2b-256 4f0def028ba04716155c2953954644b0beafa64155effb9a5d7efa3cba6b510e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PopCatAPIWrapper-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 40fcaa563fb863c53f13030afed9374db80a07c062453328e499b97390c97732
MD5 2f3d627c8bb55e747f4de4f27f7e8c4c
BLAKE2b-256 857929872849ee8def32be3eb969876dca971a99060e6c5da736b120586218a6

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