All Projects → yuban10703 → SetuAPI

yuban10703 / SetuAPI

Licence: other
色图API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SetuAPI

OPQ-SetuBot
基于botoy和OPQBot的色图机器人
Stars: ✭ 194 (+397.44%)
Mutual labels:  pixiv, qq, qqbot, setu
HibiAPI
一个实现了多种常用站点的易用化API的程序 / A program that implements easy-to-use APIs for a variety of commonly used sites.
Stars: ✭ 427 (+994.87%)
Mutual labels:  pixiv, fastapi
Foolqq
使用图像识别操作QQ收发消息,如果你读完readme觉得idea不错,请star
Stars: ✭ 252 (+546.15%)
Mutual labels:  qq, qqbot
qq-bot-rebown
[DEPRECATED!] SmartQQ robot written in JavaScript, using ES7 async/await features
Stars: ✭ 56 (+43.59%)
Mutual labels:  qq, qqbot
Teamhelper
A robot software that helps a team leader automatically send notifications to QQ group and Emails for weekly meeting.
Stars: ✭ 201 (+415.38%)
Mutual labels:  qq, qqbot
Picqbotx
基于 CQHTTP 插件的 Java QQ 机器人类库
Stars: ✭ 218 (+458.97%)
Mutual labels:  qq, qqbot
Cq Picsearcher Bot
🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
Stars: ✭ 830 (+2028.21%)
Mutual labels:  pixiv, qq
Python Mirai
以 OICQ(QQ) 协议驱动的高性能机器人开发框架 Mirai 的 Python 接口, 通过其提供的 `HTTP API` 与无头客户端(Mirai)交互.
Stars: ✭ 155 (+297.44%)
Mutual labels:  qq, qqbot
Mirai-Bot
Robot developed based on RICQ framework
Stars: ✭ 6 (-84.62%)
Mutual labels:  qq, qqbot
QQChannelBot
QQ频道机器人
Stars: ✭ 44 (+12.82%)
Mutual labels:  qq, qqbot
py-pcqq
Python3模拟PCQQ客户端协议
Stars: ✭ 79 (+102.56%)
Mutual labels:  qq, qqbot
Miraiandroid
QQ机器人 /(实验性)在Android上运行Mirai-console,支持插件
Stars: ✭ 188 (+382.05%)
Mutual labels:  qq, qqbot
Spring Cq
新框架 https://github.com/ProtobufBot/ProtobufBot 。这是一个spring boot starter。基于SpringBoot的QQ机器人框架,demo分支是例子,jar分支是框架。
Stars: ✭ 161 (+312.82%)
Mutual labels:  qq, qqbot
Pcqq Protocol
PCQQ协议 机器人
Stars: ✭ 237 (+507.69%)
Mutual labels:  qq, qqbot
Coolq Cpp Sdk
CoolQ C++ SDK
Stars: ✭ 157 (+302.56%)
Mutual labels:  qq, qqbot
pixiv-helper
mirai-console 插件开发计划
Stars: ✭ 113 (+189.74%)
Mutual labels:  pixiv, qqbot
Coolq Http Api
为 酷Q 提供通过 HTTP 或 WebSocket 接收事件和调用 API 的能力
Stars: ✭ 1,787 (+4482.05%)
Mutual labels:  qq, qqbot
Mojo Webqq
【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,755 (+4400%)
Mutual labels:  qq, qqbot
Pixivbot
从Pixiv爬涩图bot
Stars: ✭ 124 (+217.95%)
Mutual labels:  pixiv, qqbot
ABot-Graia
一个使用 Graia Ariadne 搭建的 QQ 功能性机器人。
Stars: ✭ 194 (+397.44%)
Mutual labels:  qq, qqbot

SetuAPI

数据库在release里

API: https://setu.yuban10703.xyz/setu

请求方法:GET,POST

返回数据为JSON

API文档地址

https://setu.yuban10703.xyz/docs

请求字段

字段 类型 说明
r18 integer 0:性感,1:色情,2:all
num integer 数量,最大50
tags array[string] 可以传入多个tag
replace_url HttpUrl 反代的链接,用于替换默认的https://i.pximg.net 例如https://i.pixiv.cat

返回数据

字段名 数据类型 说明
detail string 没东西就是正常
tags array[string] 你请求的时候发送的tags
count integer data内的数据数量
data array[setu] setu列表

setu

字段名 数据类型 说明
artwork array[artwork] 画廊的标题和P站id
author array[author] 作者的名字和P站ID
count integer 获取到的数量
sanity_level integer P站给的字段 可能是色情等级吧
r18 boolean 是否R18
page integer 作品在画廊的第几P(从0开始算)
create_date string($date-time) P站的字段 应该是最后更新日期
size array[size] 图片的长宽
tags array[string] 图片的标签
urls array[urls] 图片的链接

artwork

字段名 数据类型 说明
title string 作品标题
id integer 作品的P站ID

author

字段名 数据类型 说明
name string 作者名字
id integer 作者的P站ID

size

字段名 数据类型 说明
width integer
height integer

urls

字段名 数据类型 说明
original string($uri) 链接(画质:original)
large string($uri) 链接(画质:large)
medium string($uri) 链接(画质:medium)

docker

docker build -t setuapi:v1.7 .
docker run -d \
-p 9001:80 \
-e mongodb="mongodb+srv://username:[email protected]/setu?retryWrites=true&w=majority" \
-e db="setu" \
-e col="setu_v5" \
-e LOG_LEVEL="debug" \
setuapi:v1.7

mongodb

要给r18,tags字段分别建索引

感谢

https://cloud.mongodb.com

https://vercel.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].