Skip to main content

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.

Release files for ok-anime 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ok-anime 1.2.2
File Size Uploaded
ok_anime-1.2.2.tar.gz 3.0 kB Details

Release files / ok_anime-1.2.2.tar.gz

Download URL ok_anime-1.2.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
02af6651868270bc61390cbb0bc7aa6670727925107f81527e39d576ff63a708
BLAKE2b-256 checksum
How to use checksums
d793676f75879874e96721f31c01f415515d6918bac149ff3251f4d75b3ae146
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.2 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page