python wrapper for OKanime
Project description
Dependencies
- python 3.*
- requests
- bs4
Installation
pip install ok-anime
example
from ok_anime import Anime
ok = Anime('Anime Name')
print(ok.title)
index:
#json of all searchs in OKAnime for anime name
print(ok.search)
#get anime title
print(ok.title)
#get anime genre
print(ok.genre)
#get anime url
print(ok.url)
#get anime cover
print(ok.cover)
#get anime status
print(ok.status)
#get anime year
print(ok.year)
#get anime episodes
print(ok.episodes)
#get anime age_classification
print(ok.age_classification)
print(ok.rate)
#get anime rate
print(ok.description)
#get anime
print(ok.trailer)
#get anime
print(ok.studio)
#get anime
print(ok.director)
#get your favorite anime
print(ok.favorite_anime('your name in okanime'))
this information is fetched from OkAnime
Make sure you don't spam the tests too quickly! One of the tests involves POSTing invalid credentials to OKAnime, so you're likely to be IP-banned if you do this too much in too short a span of time.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ok_anime-1.2.2.tar.gz
(3.0 kB
view details)
File details
Details for the file ok_anime-1.2.2.tar.gz
.
File metadata
- Download URL: ok_anime-1.2.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02af6651868270bc61390cbb0bc7aa6670727925107f81527e39d576ff63a708 |
|
MD5 | 9dd5d19438f739a10f45c63506da1935 |
|
BLAKE2b-256 | d793676f75879874e96721f31c01f415515d6918bac149ff3251f4d75b3ae146 |