An asynchronous api wrapper for FusionSidsAPI.
Project description
FusionSidAPI Wrapper for python
An asynchronous api wrapper to use FusionSidAPI in python.
Install:
You can install this library from PyPi: Link
Install with pip:
pip install fusionsidsapi
Need Help
Docs
This package now has docs
https://fusionsid.github.io/FusionSidAPI.py/
or look in the Enviroments tab
Help Function
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)
Examples:
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())
FusionSidAPI Github
Contact:
Discord: FusionSid#3645
Changelog:
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 :)
Change Log
0.0.9 (20/03/2022)
- Added
Image.get_colors() - Get colors takes in a image and finds the most dominant color and the color palette
- Fixed examples for most functions doc strings
0.0.8 (19/03/2022)
- Made most funtions
@classmethod's so you don't have to init the class - Updated all doc strings to use
:paramso IDE's show it when typing - Fixed
import *to import the actual stuff
Not code but the package now has documentation
0.0.7 (10/03/2022)
- Added 9 Text convert functions in
fusionsid.Text() - Added
reddit_search
0.0.6 (09/03/2022)
- Wordle answers
0.0.5 (08/03/2022)
- Fixed some bugs with the stats
0.0.4 (08/03/2022)
- Added doc strings to every function/class
0.0.3 (08/03/2022)
- Added Fact,
Truth,DareandTruth+Darefunctions in theFunClass
0.0.2 (06/03/2022)
- Added
created_atAttribute toMeme,QRCodeandRandomMemeclasses
0.0.1 (06/03/2022)
- First Release
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fusionsidsapi-0.0.10-py3-none-any.whl.
File metadata
- Download URL: fusionsidsapi-0.0.10-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.60.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1a0711eed19076c32fdede4bc74714d8eab6a410305b14e0074d35d82914966
|
|
| MD5 |
16e4500179afe368aa3cd56e0339593b
|
|
| BLAKE2b-256 |
2af18494643fbddcc165209ad5e678626bbcb49d39bb8b1849a290e917a32de0
|