BingWallpaperAPI

A simple PHP Bing wallpaper API.
一个简易的 PHP 必应壁纸 API 。

Deploy | 部署

Modify index.php line 3-4.
修改 index.php 第 3-4 行。
Details | 详细说明

$ago in line 3 is how many days ago.
第3行 $ago 表示日期。

Parameter | 值 Content | 含义
0 today | 今天
1 yesterday | 昨天
2 the day before yesterday | 前天

$region in line 4 is Bing region.
第4行 $region 表示位置。

Parameter | 值 Content | 含义
0 global version of Bing | 必应国际版
1 Chinese version of Bing | 必应国内版
Upload index.php to the server.
上传 index.php 至服务器。

How to use | 使用方法

Parameter | 参数 Content | 含义
ago how many days ago | 日期
region region | 位置
encode data format | 返回数据格式

The default parameter is the index.php line 3-4.
缺省参数则为 index.php 3-4 行默认值。

Details | 详细说明

ago

Parameter | 值 Content | 含义
0 today | 今天
1 yesterday | 昨天
2 the day before yesterday | 前天

region

Parameter | 值 Content | 含义
global global version of Bing | 必应国际版
cn Chinese version of Bing | 必应国内版

encode

Parameter | 值 Content | 含义
json return JSON format data | 返回 JSON 格式数据

Example | 示例

/index.php /index.php?ago=0&region=cn&encode=json

Image Properties | 图片参数

Resolution 1920x1080
分辨率 1920x1080

About | 关于

© zhxy-CN, Released under the MIT License.
Image copyright owned by Bing.

版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。