An API wrapper for both of the APIS I have made.
Project description
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")
API List
https://hotbeverage.herokuapp.com/docs = Has photos and soon info on hot drinks (not started)
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)
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
File details
Details for the file Mics_API_Wrapper-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: Mics_API_Wrapper-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0e8daf8daa1a94ad5b97d425830b5eafa8e46f5229b572ff25683090017979 |
|
MD5 | dd4de25efec9602ee0d3448e9f645f71 |
|
BLAKE2b-256 | 19f007bbe6c3786b96fad96828a18be28599ad4f9303c556f054bbf161718c14 |