A API library that allow you requests lolicon api easier
Project description
lolicon-api
一个更简单的lolicon API调用方法
安装
pip install lolicon-api
使用
本库十分简单,仅有两个主要函数:fetch()和download_image()。
import lolicon_api
# 获取图片
data = lolicon_api.fetch(tags=[...], num=5)
# 下载图片
lolicon_api.download_image(data[0]['urls']['original'], save_path='path/to/save/image.jpg')
参数说明
几乎与文档参数保持一致,可以在lolicon API文档中找到。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lolicon_api-1.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lolicon_api-1.0.0.tar.gz.
File metadata
- Download URL: lolicon_api-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
820deb0e520ffc57d9f1a4cd351ee44e99596b530e6d486c9a122e8b8d5fcad0
|
|
| MD5 |
b4192f1277cc153269f1c8bc91f3e293
|
|
| BLAKE2b-256 |
6866a8e2a6137909c1f63035a88e12cef3a57878614517cedcf61ba381688486
|
File details
Details for the file lolicon_api-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lolicon_api-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e66afa759868e2517f689b3fcaef78b386c0a8545d191439012b34c0f344e843
|
|
| MD5 |
b83db8e7fdbc4508272b48d81014aa3f
|
|
| BLAKE2b-256 |
c944ac565cf3b23f641de1a4457423d1f84c9e066778ff504ac54aadbd077563
|