Skip to main content

A wrapper for the Consumet API

Project description

consumetpy

A Python wrapper for the Consumet API that provides easy access to the different categories and providers of the API.

Installation

To install consumetpy, run the following command:

pip install consumetpy

Usage

The package includes different classes for the different categories and providers of the API. To use the package, you'll need to create an instance of the ConsumetAPI class and then access the different categories and providers through its attributes.

from consumet.py import ConsumetAPI

api = ConsumetAPI()

# Access the anime category
anime = api.anime

# Access the animepahe provider
animepahe = anime.animepahe

# Search for an anime by title
results = animepahe.search('spy x family')

# Get information about an anime
info = animepahe.info('1')

# Watch an anime episode
watch = animepahe.watch('12321dqw')

You can access the providers, enime, gogoanime, zoro in similar way by using anime.enime, anime.gogoanime and anime.zoro respectively.

Contributions

Contributions are welcome! If you'd like to contribute to this package, please fork the repository and make changes as you'd like. Once you've made your changes, open a pull request here and I'll review your changes.

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

consumetpy-0.1.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

consumetpy-0.1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file consumetpy-0.1.2.tar.gz.

File metadata

  • Download URL: consumetpy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for consumetpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8aee5a140c2feff6e1554f22eb73937f0d5c4a6be8f68fc9d14bfcd2cefec1b9
MD5 0030e88b1766c401fac5304795d6f73d
BLAKE2b-256 b3a5c777135cfcde24564c80f5704567d7a276126caa48506d5cf8f2602ba4db

See more details on using hashes here.

File details

Details for the file consumetpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: consumetpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for consumetpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84d40807fe6f19603ed1ffe562b99a437a02ec58c0d5cf7e78dad0e95825709d
MD5 c599705e905995be0fb3c42ad5b1fc76
BLAKE2b-256 b34ad3a702bd7b48cfbd29a62a31a56dbe1c74845b22620eead459fa049621d6

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