Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for pyoploverz, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size pyoploverz-0.0.4-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyoploverz-0.0.4.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page