Get random anime gifs by category.
Project description
animegifs.py
<a href="https://pypi.org/project/animegifs/">
<img src="https://img.shields.io/pypi/dm/animegifs?logo=PyPI&style=for-the-badge" alt="PyPi Downloads"/></a>
<a href="https://discord.gg/TKZJ4GJj2z">
<img src="https://img.shields.io/discord/856005478789677096?logo=Discord&style=for-the-badge" alt="Discord Server"/></a>
<a href="https://pypi.org/project/animegifs/">
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/MarcoSa-2000/animegifs?style=for-the-badge"></a>
<img alt="PyPI - Python Version" src="https://img.shields.io/pypi/pyversions/animegifs?logo=Python&logoColor=%23FFFF00&style=for-the-badge">
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/MarcoSa-2000/animegifs?style=social">
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) #gifs.get_gif('hug') and 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:
A
- Attack
B
- Bite, Bloodsuck, Blush, Bonk, Brofist
C
- Cry, Cuddle
D
- Dance, Disgust
E
- Exploding
F
- Facedesk, Facepalm, Flick, Flirt
H
- Handhold, Happy, Harass, Highfive, Hug
I
- Icecream, Insult
K
- Kill, Kiss
L
- Lick, Love
M
- Marry
N
- Nod, Nosebleed, Nuzzle
P
- Pat, Peck, Poke, Popcorn, Pout, Punch, Punish
R
- Run
S
- Sad, Scared, ,Shoot, Shrug, Sip, Slap, Smirk, Sorry, Spank, Stare
T
- Tease, Threat, Tickle, Tired
W
- Wave
Y
- Yawn
Special Category List
- Random, Steal-magic
Live API
You can test out the API (and lib functionality) on my bot's website here: https://enkidu-app.github.io/animegifs
Troubleshooting and other
If you encounter an error, please raise an issue on the issue page: https://github.com/MarcoSa-2000/animegifs/issues.
Alternatively, you can join my Discord server to request new categories, functions, provide feedback, or report any errors.
I do also have a multi-function Discord bot. Feel free to check out the web dashboard here: https://enkidu-app.github.io.
Copyright
This repository doesn't include any copyrighted material.
If you happen to come across any copyrighted content within this repository (but hosted elsewhere) that you own or represent, email me at grest0grest@gmail.com.
Please provide specific details about the copyrighted material and where it can be found.
Once I confirm your claim, I'll take immediate action to remove the identified material.
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.7.0.tar.gz
.
File metadata
- Download URL: animegifs-0.7.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af36a3083792af44f4960de75a93cac17e52d78beeefcedf329a68d9b2337c93 |
|
MD5 | bd138342649930b7e8f0ff192fa1afc8 |
|
BLAKE2b-256 | 908c9dffde29f743020b44b8dbfff4d89cac633252494b0f3bf75608fbec693c |
File details
Details for the file animegifs-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: animegifs-0.7.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55cfbc3aa152ec562a4e0675ded1c49642e69e3c76bf1301a67a513422cd8e7c |
|
MD5 | be3162d83f81e73fca12412a41e99601 |
|
BLAKE2b-256 | f13e0391e4a08214577a5c52cabe52cf7df0fd5a84e9e0a4a7537576035a1987 |