分享一些壁纸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

相关文章

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基本概念最小单元推理模型智能体自定义界面总结前言最

MySQL8.2.0安装教程分享

《MySQL8.2.0安装教程分享》这篇文章详细介绍了如何在Windows系统上安装MySQL数据库软件,包括下载、安装、配置和设置环境变量的步骤... 目录mysql的安装图文1.python访问网址2javascript.点击3.进入Downloads向下滑动4.选择Community Server5.

JAVA调用Deepseek的api完成基本对话简单代码示例

《JAVA调用Deepseek的api完成基本对话简单代码示例》:本文主要介绍JAVA调用Deepseek的api完成基本对话的相关资料,文中详细讲解了如何获取DeepSeekAPI密钥、添加H... 获取API密钥首先,从DeepSeek平台获取API密钥,用于身份验证。添加HTTP客户端依赖使用Jav

CentOS系统Maven安装教程分享

《CentOS系统Maven安装教程分享》本文介绍了如何在CentOS系统中安装Maven,并提供了一个简单的实际应用案例,安装Maven需要先安装Java和设置环境变量,Maven可以自动管理项目的... 目录准备工作下载并安装Maven常见问题及解决方法实际应用案例总结Maven是一个流行的项目管理工具

10个Python自动化办公的脚本分享

《10个Python自动化办公的脚本分享》在日常办公中,我们常常会被繁琐、重复的任务占据大量时间,本文为大家分享了10个实用的Python自动化办公案例及源码,希望对大家有所帮助... 目录1. 批量处理 Excel 文件2. 自动发送邮件3. 批量重命名文件4. 数据清洗5. 生成 PPT6. 自动化测试

C#使用DeepSeek API实现自然语言处理,文本分类和情感分析

《C#使用DeepSeekAPI实现自然语言处理,文本分类和情感分析》在C#中使用DeepSeekAPI可以实现多种功能,例如自然语言处理、文本分类、情感分析等,本文主要为大家介绍了具体实现步骤,... 目录准备工作文本生成文本分类问答系统代码生成翻译功能文本摘要文本校对图像描述生成总结在C#中使用Deep