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

相关文章

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丢失

python通过curl实现访问deepseek的API

《python通过curl实现访问deepseek的API》这篇文章主要为大家详细介绍了python如何通过curl实现访问deepseek的API,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编... API申请和充值下面是deepeek的API网站https://platform.deepsee

Java对接Dify API接口的完整流程

《Java对接DifyAPI接口的完整流程》Dify是一款AI应用开发平台,提供多种自然语言处理能力,通过调用Dify开放API,开发者可以快速集成智能对话、文本生成等功能到自己的Java应用中,本... 目录Java对接Dify API接口完整指南一、Dify API简介二、准备工作三、基础对接实现1.

一文详解如何在Vue3中封装API请求

《一文详解如何在Vue3中封装API请求》在现代前端开发中,API请求是不可避免的一部分,尤其是与后端交互时,下面我们来看看如何在Vue3项目中封装API请求,让你在实现功能时更加高效吧... 目录为什么要封装API请求1. vue 3项目结构2. 安装axIOS3. 创建API封装模块4. 封装API请求

SpringBoot请求参数接收控制指南分享

《SpringBoot请求参数接收控制指南分享》:本文主要介绍SpringBoot请求参数接收控制指南,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录Spring Boot 请求参数接收控制指南1. 概述2. 有注解时参数接收方式对比3. 无注解时接收参数默认位置