Get Bing daily Picture API interface

Source: Internet
Author: User

Bing Pictures are updated daily, for this feeling is very good, if you can put Bing daily pictures as a blog background is not very good? First we go to the Bing home page, we will find automatically go to the Chinese version. But it doesn't matter, the Chinese version is more in line with the national conditions, faster than the international version faster.

Share the Bing Image interface API below and grab a packet to discover

Http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1

A watermark-free image can be obtained here.

Capture Package Display Results:

{"Images": [{"StartDate": "20160613", "fullstartdate": "201606131600", "EndDate": "20160614", "url": "/HTTP// S.cn.bing.net/az/hprichbg/rb/bomboheadland_zh-cn9339065341_1920x1080.jpg "," URLBase ":"/az/hprichbg/rb/ bomboheadland_zh-cn9339065341 "," Copyright ":" Kama Bombo headland, New South Wales, State Of, Australia (? Attakorn bk/getty Images) "," Copyrightlink ":" http://www.bing.com/search?q=%e5%87%af%e9%a9%ac&form=hpcapt& MKT=ZH-CN "," WP ": true," HSH ":" 8b50b348242b793c63102d33c2ca5eb7 "," DRK ": 1," Top ": 1," bot ": 1," HS ": []," MSG ": [{" title ": "Today's picture Story", "link": "HTTP://WWW.BING.COM/SEARCH?Q=%E5%87%AF%E9%A9%AC&FORM=PGBAR1&MKT=ZH-CN", "text": "Kama"}]} ], "ToolTips": {"Loading": "Loading ...", "previous": "Previous image", "Next": "Next Image", "Walle": "This picture cannot be downloaded as a wallpaper." "," Walls ":" Download today's beauty map. Use as desktop wallpaper only. "}}

We extract the images from the link, url address:
Http://s.cn.bing.net/az/hprichbg/rb/BomboHeadland_ZH-CN9339065341_1920x1080.jpg

If we want to browse yesterday, the pictures of the day before today? Back to the original web site, Http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1 here, change idx= this parameter can be. As Http://cn.bing.com/HPImageArchive.aspx?idx=1&n=1 will get the picture of yesterday http://cn.bing.com/HPImageArchive.aspx?idx=2 &n=1 get pictures of the day before yesterday

Website Bing daily Picture API know tutorials below if you want to learn more click into--bing Image API usage

1. Visit https://api.ioliu.cn/bing/, return to Bing daily latest background map, optional parameters [w,h]2. Visit Https://api.ioliu.cn/bing/?d=n (n>=0), return the wallpaper with the day of the day starting from the first n days, optional parameters [W,h]3. Visit https://api.ioliu.cn/bing/json/, return information about the latest Bing Daily Wallpapers (Introduction, image address, etc.), optional parameters [callback].4. Access https://api.ioliu.cn/bing/rand/, return random pictures, optional parameters [W,h]5. Access https://api.ioliu.cn/bing/blur/, return gaussian blur picture, optional parameter [d,w,h] with [w,h] usage: https://api.ioliu.cn/bing/rand/?w=1920&h= 1200 currently known picture resolution 1920X1200 1920x1080 1366x768 1280x768 1024x768 800x600 800x480 768x1280 720x1280 640 x480 480x800 400x240 240x320

Original website: http://www.eso360.cn/html/2408963950.html

Get Bing daily Picture API interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.