A simple API wrapper for wlnupdates
Project description
wlnupdates-api.py
A simple API wrapper for wlnupdates to get json data based on ID.
Installation
Install via pip (recommended)
python3 -m pip install wlnupdates-api
Wrapper
All Wrapper functions only accepts ID as param
| Wrapper param | Value | Description |
|---|---|---|
| ID | String (optional) | ID for the novel/series you're requesting |
from wlnupdates-api import Wrapper
data = Wrapper()
print(data.get_series_data('3')
Search
| title_search param | Value | Description |
|---|---|---|
| name | String (required) | Name for the novel/series you're requesting |
| similarityNum | Float (optional) | This param will output any lists with a value above the number you entered. |
| fullList | Boolean (optional) | If true, will output clean list with match(similarity num, name) and sid(series ID) |
Usage for Search
from wlnupdates-api import Search
data = Search()
print(data.title_search(name, similarityNum=0, fullList=False))
Contributing
Contributions are always welcome!
Take a look at any existing issues on this repository for starting places to help contribute towards, or simply create your own new contribution to the project.
When you are ready, simply create a pull request for your contribution and we will review it whenever we can!
- If you have an issue, please create a GitHub issue here to report it, include as much detail as you can.
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
wlnupdates-1.0.6.tar.gz
(2.9 kB
view details)
File details
Details for the file wlnupdates-1.0.6.tar.gz.
File metadata
- Download URL: wlnupdates-1.0.6.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e15bd59e0871cdf82713dc72f349776ffba01d29cdee07e4a0e5496bb0fbb702
|
|
| MD5 |
bb4e60bdbea3a8dcc2eea92123050fef
|
|
| BLAKE2b-256 |
bc63afac0b8d14227df94afa0e2c7e8758ed7821d425d507147299f792e0af89
|