An asynchronous api wrapper to use FusionSidAPI in python.
Root Url (redirects to docs): https://api.fusionsid.xyz/
You can install this library from PyPi: Link
Install with pip:
pip install fusionsidsapi
This package has docs
Go to this url
https://fusionsid.github.io/FusionSidAPI.py/
or look in the Enviroments tab for the latest github pages deployment
Each class and function has a doc string so if you need help with anything in the pacakge just use the built in python function help()
eg:
import fusionsid
# Example 1
help(fusionsid.RandomMeme)
help(fusionsid.GenerateMeme)
# Example 2
help(fusionsid.Image.qrcode)
help(fusionsid.Fun.truth_or_dare)
Look in the examples folder for some examples
Example for getting a roast:
import asyncio
from fusionsid import Fun
async def main():
roast = await Fun.roast()
print(roast)
loop = asyncio.new_event_loop()
loop.run_until_complete(main())
This package also has some decorators (also in the examples folder) so if you want a complement before your code is run heres how:
import asyncio
from fusionsid import Decorators
do_compliment = Decorators.compliment
@do_compliment()
async def main():
print("Wassup")
loop = asyncio.new_event_loop()
loop.run_until_complete(main())
Typing fusionsid
in terminal or python3 -m fusionsid
will bring up the mini cli thing i made for this module.
It can let you use the api in terminal in a fast and easy way.
Use: fusionsid --help
or python3 -m fusionsid --help
for help
You can checkout the changes per version in CHANGELOG.txt
If you find a bug please make an issue, I will try my best to fix it :)
Discord: FusionSid#3645
My Github