Code Monkey home page Code Monkey logo

bing-pic-api's Introduction

Bing图片 API

Bing API 接口文档

测试接口 今日图片

特性


  • Bing原生返回值
  • 支持json格式
  • 支持xml格式
  • 支持自定义返回图片数量(max16)

接口


原生Bing返回接口

调用地址:/bing?{format,idx,n}

方式:GET

参数名 是否必要 示例参数 备注
format js、xml 默认返回json,若需要xml,则指定值为xml即可
idx 0 图片偏移天数,例如为1,则返回昨天的图片
n 2 返回图片数量,最大为16,最小为1

查看今日图片

访问地址:/showtoday

方式GET

无参数

Bing今日图片地址

调用地址: /today?{res, cus}

方式: GET

参数 是否必要 备注
id 输入分辨率的ID值,ID值查看下表即可,默认返回1920x1080
res 此值接受一个分辨率值,例如:1366x768。

注意:res值存在时,id参数失效。且res的值必须为下表中存在的值

  • 分辨率ID表
分辨率ID 分辨率
0 1920x1200
1 1920x1080
2 1366x768
3 1280x768
4 1240x768
5 800x600
6 800x480
7 640x480
8 400x240
9 320x240
10 768x1280
11 720x1280
12 480x800

bing-pic-api's People

Contributors

bluesky01st avatar chaolucky18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.