Asynchronous API wrapper for the pxlapi https://pxlapi.dev
Project description
pypxl
An asynchronous wrapper for pxlapi
Install it
Just use pip3 install pypxl
to install it
How to use it
from pypxl import Pxlapi
#Define yout details here
pxl = Pxlapi(token="Your pxlapi token", stop_on_error=False)
Now you can use a all pxlapi features with just one line of code!
glitch = await pxl.glitch(images=["https://cdn.discordapp.com/avatars/606162661184372736/a_62245605493deac02c291fe8fa517bee.gif?size=512"])
Docs
I have not written any documentation. Generally every enpoint has a function with the same name and the same parameters as the enpoint along with the same default values. For an example in a discord bot, please click here
I have implemented all functions this library offers in commands in my bot. You can find all those commands here
For questions and suggestions, join my discord server or dm me (Kile#0606
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypxl-0.1.7.tar.gz
(4.5 kB
view hashes)
Built Distribution
pypxl-0.1.7-py3-none-any.whl
(5.2 kB
view hashes)