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

Uploaded Source

File details

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

File metadata

  • Download URL: superanime-1.0.1.tar.gz
  • Upload date:
  • Size: 2.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.1.tar.gz
Algorithm Hash digest
SHA256 f5afee0a96224c0ed9c30a95dede44375615410e9ceb42c0eeb8fd7d6c1f07a7
MD5 0c5e7e5a396952ecdcc41062c256486a
BLAKE2b-256 ca5af9c5a73cd53071eeba940f73f5fe44a44b37b5b3e337a7749b3e6e313659

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