Get random anime gifs by category.
Project description
animegifs.py
Get random anime gifs by category. Use Python (intended (for now) for Discord).
WIP - updated in time to time. Versions below v0.5.3 aren't expected to work flawlessly or at all. Version below v0.6 will not have the gifs library updated anymore.
pip install animegifs
HOW TO USE
#v0.5.3>
from animegifs import animegifs
gifs = animegifs.Animegifs()
gif = gifs.get_gif(category) #return the url of the gif.
#v0.6>
from animegifs import animegifs
gifs = animegifs.Animegifs()
gif = gifs.get_gif(category) #return the url of the gif.
mal = gifs.get_mal(gif) #get url of the gif's anime myanimelist page.
title = gifs.get_animetitle(gif) #get the title of the gif's anime.
malid = gifs.get_malId(gif) #get the ID of the gif's anime myanimelist page.
Category list:
-
Attack
-
Bite
-
Bloodsuck
-
Blush
-
Bonk
-
Brofist
-
Cry
-
Cuddle
-
Dance
-
Disgust
-
Facedesk
-
Facepalm
-
Flick
-
Flirt
-
Handhold
-
Happy
-
Harass
-
Highfive
-
Hug
-
Icecream
-
Insult
-
Kill
-
Kiss
-
Lick
-
Love
-
Marry
-
Nosebleed
-
Nuzzle
-
Pat
-
Peck
-
Poke
-
Popcorn
-
Pout
-
Punch
-
Punish
-
Run
-
Sad
-
Scared
-
Shoot
-
Shrug
-
Sip
-
Slap
-
Smirk
-
Sorry
-
Spank
-
Stare
Special Category List
-
Random
-
Steal-magic
WIP.
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
Built Distribution
File details
Details for the file animegifs-0.6.0.tar.gz
.
File metadata
- Download URL: animegifs-0.6.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a0d4c2a15ef5d66a83b663e983282bafe76ab190a6c05a6b73bc480d3e0c7c |
|
MD5 | 94a0501b31ad0a457334f60a7fa76acd |
|
BLAKE2b-256 | e7d844c4c448c0f00856de9ff1729b254cdbedc0d9b14e853c75445131b06233 |
File details
Details for the file animegifs-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: animegifs-0.6.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b13e755fe4757e72f659677eea8a9c450657159b4e58cdd472b888b24cb8a07d |
|
MD5 | f232e5aded142d3b3ceb0acb1fedab6c |
|
BLAKE2b-256 | 5edfa2f151f9687265284a288f5ba75347e58bc18e4f35a87f955d850cf06925 |