Skip to main content

Unofficial wrapper anime from oploverz.in

Project description

PyOpLoverz💓

Unofficial wrapper from oploverz.in, this will get detail and stream about anime

CodeFactor Codacy Badge Build Status License Version Python Pypi

Language

English | indonesia


Installing

Using clone

  1. git clone https://github.com/dyseo/PyOpLoverz
  2. cd PyOpLoverz
  3. python3 setup.py install

From pypi

  • pip install pyoploverz

Example

from pyoploverz import OpzApi

query = "naruto"
page = 1
ex_url = "https://www.oploverz.in/boruto-naruto-next-generations-90-subtitle-indonesia/"

api = OpzApi(return_as="rpc")
#change 'return_as' to 'dict' if you want result as dict

Search anime with query

print(api.search_anime(query=query, page=page))

Get detail from url anime

print(api.detail_anime(urls=url))

Get lasted update

print(api.lasted_anime(page=page))

Get all data from one page

print(api.multi_detail(query=query, page=page))
#NOTE: i recommend this method only using dict for returning.
#rpc style make it hard for parsing

Sample

Tested at 19:30 Fri 4,2019 Search method using rpc style

Author

Dyseo / Alnyz

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

pyoploverz-0.0.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

pyoploverz-0.0.4-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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