Unofficial wrapper anime from oploverz.in
Project description
PyOpLoverz💓
Unofficial wrapper from oploverz.in, this will get detail and stream about anime
Installing
Using clone
git clone https://github.com/dyseo/PyOpLoverz
cd PyOpLoverz
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
Tested at 19:30 Fri 4,2019 Search method using rpc style
Author
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.2.tar.gz
(4.9 kB
view hashes)