Skip to content

Infernum1/PopCatWrapper

Repository files navigation

An async API wrapper around popcat-api

Project development has been paused till April, 2023

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

You're welcome to make a Pull Request if you feel something can be improved :)

About

An async api wrapper around the API - popcat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages