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

相关文章

Knife4j+Axios+Redis前后端分离架构下的 API 管理与会话方案(最新推荐)

《Knife4j+Axios+Redis前后端分离架构下的API管理与会话方案(最新推荐)》本文主要介绍了Swagger与Knife4j的配置要点、前后端对接方法以及分布式Session实现原理,... 目录一、Swagger 与 Knife4j 的深度理解及配置要点Knife4j 配置关键要点1.Spri

Python中你不知道的gzip高级用法分享

《Python中你不知道的gzip高级用法分享》在当今大数据时代,数据存储和传输成本已成为每个开发者必须考虑的问题,Python内置的gzip模块提供了一种简单高效的解决方案,下面小编就来和大家详细讲... 目录前言:为什么数据压缩如此重要1. gzip 模块基础介绍2. 基本压缩与解压缩操作2.1 压缩文

Go语言代码格式化的技巧分享

《Go语言代码格式化的技巧分享》在Go语言的开发过程中,代码格式化是一个看似细微却至关重要的环节,良好的代码格式化不仅能提升代码的可读性,还能促进团队协作,减少因代码风格差异引发的问题,Go在代码格式... 目录一、Go 语言代码格式化的重要性二、Go 语言代码格式化工具:gofmt 与 go fmt(一)

HTML5 getUserMedia API网页录音实现指南示例小结

《HTML5getUserMediaAPI网页录音实现指南示例小结》本教程将指导你如何利用这一API,结合WebAudioAPI,实现网页录音功能,从获取音频流到处理和保存录音,整个过程将逐步... 目录1. html5 getUserMedia API简介1.1 API概念与历史1.2 功能与优势1.3

Python虚拟环境与Conda使用指南分享

《Python虚拟环境与Conda使用指南分享》:本文主要介绍Python虚拟环境与Conda使用指南,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、python 虚拟环境概述1.1 什么是虚拟环境1.2 为什么需要虚拟环境二、Python 内置的虚拟环境工具

Python处理大量Excel文件的十个技巧分享

《Python处理大量Excel文件的十个技巧分享》每天被大量Excel文件折磨的你看过来!这是一份Python程序员整理的实用技巧,不说废话,直接上干货,文章通过代码示例讲解的非常详细,需要的朋友可... 目录一、批量读取多个Excel文件二、选择性读取工作表和列三、自动调整格式和样式四、智能数据清洗五、

使用Python实现调用API获取图片存储到本地的方法

《使用Python实现调用API获取图片存储到本地的方法》开发一个自动化工具,用于从JSON数据源中提取图像ID,通过调用指定API获取未经压缩的原始图像文件,并确保下载结果与Postman等工具直接... 目录使用python实现调用API获取图片存储到本地1、项目概述2、核心功能3、环境准备4、代码实现

JDK9到JDK21中值得掌握的29个实用特性分享

《JDK9到JDK21中值得掌握的29个实用特性分享》Java的演进节奏从JDK9开始显著加快,每半年一个新版本的发布节奏为Java带来了大量的新特性,本文整理了29个JDK9到JDK21中值得掌握的... 目录JDK 9 模块化与API增强1. 集合工厂方法:一行代码创建不可变集合2. 私有接口方法:接口

电脑系统Hosts文件原理和应用分享

《电脑系统Hosts文件原理和应用分享》Hosts是一个没有扩展名的系统文件,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应... Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应

无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案

《无法启动此程序因为计算机丢失api-ms-win-core-path-l1-1-0.dll修复方案》:本文主要介绍了无法启动此程序,详细内容请阅读本文,希望能对你有所帮助... 在计算机使用过程中,我们经常会遇到一些错误提示,其中之一就是"api-ms-win-core-path-l1-1-0.dll丢失