Skip to main content

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) #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

  • Exploding

  • Facedesk

  • Facepalm

  • Flick

  • Flirt

  • Handhold

  • Happy

  • Harass

  • Highfive

  • Hug

  • Icecream

  • Insult

  • Kill

  • Kiss

  • Lick

  • Love

  • Marry

  • Nod

  • Nosebleed

  • Nuzzle

  • Pat

  • Peck

  • Poke

  • Popcorn

  • Pout

  • Punch

  • Punish

  • Run

  • Sad

  • Scared

  • Shoot

  • Shrug

  • Sip

  • Slap

  • Smirk

  • Sorry

  • Spank

  • Stare

  • Tease

  • Threat

  • Tickle

  • Tired

  • Wave

  • Yawn

Special Category List

  • Random

  • Steal-magic

#Troubleshooting and other

If you encounter an error raise an issue on the issue page: https://github.com/MarcoSa-2000/animegifs/issues

or join the discord server to request new categories, new functions, feedback and even errors.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

animegifs-0.6.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

animegifs-0.6.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file animegifs-0.6.2.tar.gz.

File metadata

  • Download URL: animegifs-0.6.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.8

File hashes

Hashes for animegifs-0.6.2.tar.gz
Algorithm Hash digest
SHA256 f727cf15b3450ea83b059385751f11c1493ef50f520ce191429ef3b0daf4fe17
MD5 cad42bcd7d9015747c7723297f7c4ebb
BLAKE2b-256 43ecc962f28a4691a19a28d4aa7a33d1623eb81cd8fecd2f9ae3cc239e9e017d

See more details on using hashes here.

File details

Details for the file animegifs-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: animegifs-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.8

File hashes

Hashes for animegifs-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f29d7ec4fea01ec92c999a87dbfbfe04e43d1ebc1b4f2ee90da7fc1e389035f7
MD5 e702a6d685fd6d95386883cc2d2719ed
BLAKE2b-256 8520097bd945afbd1dbdc38f11f436652e7bd83fbc08eae6d2d45409dfe85354

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page