Mics-API-wrapper
This is a package to simplify the use of my APIs. The wrapper will make doing all of the most common tasks of the API simple as well as fast. This prevents you having to use requests and think about how you get the files.
Install
pip install Mics-API-Wrapper
Example Usage:
from MicsAPIwrapper import Wallpapersimagelink , filmimagelink
#Using the json forms
imageurl = Wallpapersimagelink()
print(imageurl)
imageurl = filmimagelink()
print(imageurl)
#using images
# wallpapersimage , moviewallpaperimage
#Example on saving the photo.
from MicsAPIwrapper import wallpapersimage ,moviewallpaperimage
from PIL import Image
import PIL
# save a image using extension
wallpapersimage().save("Test.jpg")
from PIL import Image
import PIL
# save a image using extension
moviewallpaperimage().save("Test.jpg")
#Text
# creating a image object (main image)
MctextMaker("Cake is a Lie").save("Test.jpg")
#pokemon ones
Pokemontextmaker("Cake is a Lie").save("Test.jpg")
#theavengerstextmaker
theavengerstextmaker("Cake is a Lie").save("Test.jpg")
#drinks
#tea coffee
from MicsAPIwrapper import teaimage, coffeeimage
from PIL import Image
import PIL
# save a image using extension
teaimage().save("Test.jpg")
coffeeimage().save("Test.jpg")
#memes
umdad("Cake is a Lie").save("Test.jpg")
if_the_could_read("Cake is a Lie").save("Test.jpg")
I_wish("Cake is a Lie").save("Test.jpg")
#image filter
trash("https://images-ext-2.discordapp.net/external/XBD-gTDJR8JwlJbdDNsekNPIhoJkYeHiwbFf2iOJOyA/%3Fsize%3D1024/https/cdn.discordapp.com/avatars/481377376475938826/8d0e7151738e8dd25cc6f417a430e669.png").save("Test.jpg")
wanted("https://images-ext-2.discordapp.net/external/XBD-gTDJR8JwlJbdDNsekNPIhoJkYeHiwbFf2iOJOyA/%3Fsize%3D1024/https/cdn.discordapp.com/avatars/481377376475938826/8d0e7151738e8dd25cc6f417a430e669.png").save("Test.jpg")
API List
https://hotbeverage.herokuapp.com/docs = Has photos and soon info on hot drinks
https://michaelstextapi.herokuapp.com/docs = Will turn text in the a image with the sytle of a games title font (working on adding to wrapper)
https://micswallpaperapi.herokuapp.com/docs = A large collection of wall papers (Added)
Metadata
Release files for Mics-API-Wrapper 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Mics_API_Wrapper-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / Mics_API_Wrapper-2.2.0-py3-none-any.whl
| Download URL | Mics_API_Wrapper-2.2.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1eee3b84459779592cd3e0fcc4891eab2b29800c12e0bc634edca7ca355db33d
|
|
BLAKE2b-256 checksum How to use checksums |
6fb5a0109e89b12014359e3e1a6651d2b59acaf8b047351374acb1ce900dd9e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.4
|