分享一些壁纸api(小鸟)

2024-04-20 01:20
文章标签 分享 api 壁纸 小鸟

本文主要是介绍分享一些壁纸api(小鸟),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

分享一些壁纸api

搜索接口

import requestsurl = "https://wp.shanhutech.cn/intf/GetUpOrDownWallpaper"
querystring = {"type":"search","action":"","value":"原神","id":"2051093"}
headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"}
response = requests.request("POST", url, headers=headers, params=querystring)
print(response.text)

最新

import requestsurl = "https://shcdn-wp.shanhutech.cn/intf/newestList"querystring = {"pageno":"1","count":"10"}headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"}response = requests.request("POST", url, headers=headers, params=querystring)print(response.text)

类别

参数说明,可以导入apipost中

[{"description": "","is_checked": 1,"key": "pageno","type": "Text","not_null": 1,"field_type": "String","value": "20"},{"description": "","is_checked": 1,"key": "count","type": "Text","not_null": 1,"field_type": "String","value": "20"},{"description": "","field_type": "String","is_checked": -1,"key": "tag","value": "清纯","not_null": 1,"type": "Text"},{"description": "4K专区 ","is_checked": -1,"key": "cids","type": "Text","not_null": 1,"field_type": "String","value": "36"},{"description": "美女模特","field_type": "String","is_checked": -1,"key": "cids","value": "6","not_null": 1,"type": "Text"},{"description": "爱情","field_type": "String","is_checked": -1,"key": "cids","value": "30","not_null": 1,"type": "Text"},{"description": "风景","field_type": "String","is_checked": -1,"key": "cids","value": "9","not_null": 1,"type": "Text"},{"description": "小清新","field_type": "String","is_checked": -1,"key": "cids","value": "15","not_null": 1,"type": "Text"},{"description": "动漫","field_type": "String","is_checked": 1,"key": "cids","value": "26","not_null": 1,"type": "Text"},{"description": "明星","field_type": "String","is_checked": -1,"key": "cids","value": "11","not_null": 1,"type": "Text"},{"description": "萌宠","field_type": "String","is_checked": -1,"key": "cids","value": "14","not_null": 1,"type": "Text"},{"description": "游戏","field_type": "String","is_checked": -1,"key": "cids","value": "5","not_null": 1,"type": "Text"},{"description": "汽车","field_type": "String","is_checked": -1,"key": "cids","value": "12","not_null": 1,"type": "Text"},{"description": "炫酷时尚","field_type": "String","is_checked": -1,"key": "cids","value": "10","not_null": 1,"type": "Text"},{"description": "日历壁纸","field_type": "String","is_checked": -1,"key": "cids","value": "29","not_null": 1,"type": "Text"},{"description": "影视剧照","field_type": "String","is_checked": -1,"key": "cids","value": "7","not_null": 1,"type": "Text"},{"description": "节日美图","field_type": "String","is_checked": -1,"key": "cids","value": "13","not_null": 1,"type": "Text"},{"description": "军事天地","field_type": "String","is_checked": -1,"key": "cids","value": "22","not_null": 1,"type": "Text"},{"description": "劲爆体育","field_type": "String","is_checked": -1,"key": "cids","value": "16","not_null": 1,"type": "Text"},{"description": "BABY秀","field_type": "String","is_checked": -1,"key": "cids","value": "18","not_null": 1,"type": "Text"},{"description": "文字控","field_type": "String","is_checked": -1,"key": "cids","value": "35","not_null": 1,"type": "Text"}
]

请求示例

import requestsurl = "https://wp.shanhutech.cn/intf/GetListByCategory"querystring = {"pageno":"20","count":"20","cids":"26"}headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"}response = requests.request("GET", url, headers=headers, params=querystring)print(response.text)

壁纸详情

import requestsurl = "https://wp.shanhutech.cn/intf/GetUpOrDownWallpaper"querystring = {"type":"newest","action":"","value":"","id":"2062166"} # id: 壁纸idheaders = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"}response = requests.request("GET", url, headers=headers, params=querystring)print(response.text)

这篇关于分享一些壁纸api(小鸟)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/918945

相关文章

基于Flask框架添加多个AI模型的API并进行交互

《基于Flask框架添加多个AI模型的API并进行交互》:本文主要介绍如何基于Flask框架开发AI模型API管理系统,允许用户添加、删除不同AI模型的API密钥,感兴趣的可以了解下... 目录1. 概述2. 后端代码说明2.1 依赖库导入2.2 应用初始化2.3 API 存储字典2.4 路由函数2.5 应

Python解析器安装指南分享(Mac/Windows/Linux)

《Python解析器安装指南分享(Mac/Windows/Linux)》:本文主要介绍Python解析器安装指南(Mac/Windows/Linux),具有很好的参考价值,希望对大家有所帮助,如有... 目NMNkN录1js. 安装包下载1.1 python 下载官网2.核心安装方式3. MACOS 系统安

Java嵌套for循环优化方案分享

《Java嵌套for循环优化方案分享》介绍了Java中嵌套for循环的优化方法,包括减少循环次数、合并循环、使用更高效的数据结构、并行处理、预处理和缓存、算法优化、尽量减少对象创建以及本地变量优化,通... 目录Java 嵌套 for 循环优化方案1. 减少循环次数2. 合并循环3. 使用更高效的数据结构4

C#集成DeepSeek模型实现AI私有化的流程步骤(本地部署与API调用教程)

《C#集成DeepSeek模型实现AI私有化的流程步骤(本地部署与API调用教程)》本文主要介绍了C#集成DeepSeek模型实现AI私有化的方法,包括搭建基础环境,如安装Ollama和下载DeepS... 目录前言搭建基础环境1、安装 Ollama2、下载 DeepSeek R1 模型客户端 ChatBo

Python中常用的四种取整方式分享

《Python中常用的四种取整方式分享》在数据处理和数值计算中,取整操作是非常常见的需求,Python提供了多种取整方式,本文为大家整理了四种常用的方法,希望对大家有所帮助... 目录引言向零取整(Truncate)向下取整(Floor)向上取整(Ceil)四舍五入(Round)四种取整方式的对比综合示例应

Java调用DeepSeek API的最佳实践及详细代码示例

《Java调用DeepSeekAPI的最佳实践及详细代码示例》:本文主要介绍如何使用Java调用DeepSeekAPI,包括获取API密钥、添加HTTP客户端依赖、创建HTTP请求、处理响应、... 目录1. 获取API密钥2. 添加HTTP客户端依赖3. 创建HTTP请求4. 处理响应5. 错误处理6.

Deepseek R1模型本地化部署+API接口调用详细教程(释放AI生产力)

《DeepseekR1模型本地化部署+API接口调用详细教程(释放AI生产力)》本文介绍了本地部署DeepSeekR1模型和通过API调用将其集成到VSCode中的过程,作者详细步骤展示了如何下载和... 目录前言一、deepseek R1模型与chatGPT o1系列模型对比二、本地部署步骤1.安装oll

浅析如何使用Swagger生成带权限控制的API文档

《浅析如何使用Swagger生成带权限控制的API文档》当涉及到权限控制时,如何生成既安全又详细的API文档就成了一个关键问题,所以这篇文章小编就来和大家好好聊聊如何用Swagger来生成带有... 目录准备工作配置 Swagger权限控制给 API 加上权限注解查看文档注意事项在咱们的开发工作里,API

linux进程D状态的解决思路分享

《linux进程D状态的解决思路分享》在Linux系统中,进程在内核模式下等待I/O完成时会进入不间断睡眠状态(D状态),这种状态下,进程无法通过普通方式被杀死,本文通过实验模拟了这种状态,并分析了如... 目录1. 问题描述2. 问题分析3. 实验模拟3.1 使用losetup创建一个卷作为pv的磁盘3.

一分钟带你上手Python调用DeepSeek的API

《一分钟带你上手Python调用DeepSeek的API》最近DeepSeek非常火,作为一枚对前言技术非常关注的程序员来说,自然都想对接DeepSeek的API来体验一把,下面小编就来为大家介绍一下... 目录前言免费体验API-Key申请首次调用API基本概念最小单元推理模型智能体自定义界面总结前言最