Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

获取必应 Bing 每日一图API

简介

此API可获得必应每日一图。GET接收图片分辨率、N天两个参数,API返回对应图片地址的302响应。

使用方式

index.php?size=&daysago=

参数名 默认值 说明
size 1920x1080 获取指定大小的图片,分辨率有限制。见下文
daysago 0 获取N天前的图片,0为当天

Docker 部署

docker run -d \
  --name BingPicAPI \
  --restart always \
  -p 18081:8080 \
  orangeqiu/bingpicapi:latest

分辨率枚举

$sizeEnum = array(
    '1920x1200',
    '1920x1080',
    '1366x768',
    '1280x768',
    '1024x768',
    '800x600',
    '800x480',
    '768x1280',
    '720x1280',
    '640x480',
    '480x800',
    '400x240',
    '320x240',
    '240x320'
);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages