Skip to main content

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

  • 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

WIP.

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.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

animegifs-0.6.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

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