Skip to main content

The best package in Python to get anime information and anime gifs!

Project description

SuperAnime

The best package in Python to get anime information and anime gifs!

Installation:

pip install superanime

Example Usage:

import asyncio

from superanime import AnimeClient
from superanime.ext.types import SFWGif, SearchType

anime = AnimeClient() 

async def main():
    await anime.start() # Starts the client
    
    gif = anime.gif(
        bucket=SFWGif.KISS, # Also works with strings!
        as_object=True # If you want to send a 'GifResult' object with additional info like anime name. Default to 'True'
    )
    print(gif.url) # Print the GIF URL

    search = await anime.search(
        query="One Piece", # The query to search in kitsu.io
        type=SearchType.ANIME # The type of search you want to search for. ('ANIME' or 'MANGA') If none provided the anime type will be searched.
    )
    print(search.name) # Print the Anime name
    
if __name__ == "main":
    asyncio.run(main())

Methods:

superanime.AnimeClient(print_on_ready: bool = True) -> AnimeClient

AnimeClient.gif(bucket: SFWGif | NSFWGif | str, as_object: bool = True) -> GifResult
Anime.search(query: str, type: SearchType | str = None) -> SearchResult

_~ Made by Noraa08 for MoonlightGroup_

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

superanime-1.0.3.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file superanime-1.0.3.tar.gz.

File metadata

  • Download URL: superanime-1.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for superanime-1.0.3.tar.gz
Algorithm Hash digest
SHA256 53b18adc994bac6e29123d664f84fa6a9368995f0208d9b81a58c246d909cba5
MD5 85e160ebbe4ff98c29310145123a3977
BLAKE2b-256 6b338cf2d1f0225897648e6fb59db0231660571a0b3aef5ebb8de528930e597b

See more details on using hashes here.

Supported by

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