yupoo.interestingness.getList

获得精彩照片列表

认证

该方法不需要认证

参数

名称 是否必需 意思
api_key 必需 你的API key
api_sig 必需 签名, 请参考如何签名
date 可选 所要显示的日期(格式:y-m-d)
per_page 可选 每页的照片数目,默认是20,最大为500
page 可选 要返回的页码,默认为1
extras 可选 附加的显示项,可以多个,以逗号分开,可以选用的值为date_upload,date_taken,owner_name,original_format,license,url_sq,url_t,url_s,url_m,url_b,url_l,description

返回结果例子

<result page="1" perpage="20" pages="1" total="11">
    <photos>
        <photo id="734003-79110912" owner="734003" ownername="dreaman" title="2179" bucket="dreaman" key="AHMNsfbx" host="0" dir="dreaman" filename="AHMNsfbx" dateupload="1292652411" datetaken="2010-12-15 14:05:07" ownernickname="肉腾腾" originalformat="jpg" license="0" url_sq="http://photo0.yupoo.com/dreaman/AHMNsfbx/square.jpg" width_sq="75" height_sq="75" url_t="http://photo0.yupoo.com/dreaman/AHMNsfbx/thumb.jpg" width_t="100" height_t="100" url_s="http://photo0.yupoo.com/dreaman/AHMNsfbx/small.jpg" width_s="240" height_s="240" url_m="http://photo0.yupoo.com/dreaman/AHMNsfbx/medium.jpg" width_m="500" height_m="500" url_b="http://photo0.yupoo.com/dreaman/AHMNsfbx/big.jpg" width_b="800" height_b="800" url_l="http://photo0.yupoo.com/dreaman/AHMNsfbx/large.jpg" width_l="800" height_l="800">
            <description/>
        </photo>
        <photo id="2015405-79107701" owner="2015405" ownername="llleavey" title="" bucket="llleavey" key="AHInsqIk" host="0" dir="llleavey" filename="AHInsqIk" dateupload="1292605239" datetaken="2010-12-17 18:05:26" ownernickname="leave.h" originalformat="jpg" license="0" url_sq="http://photo0.yupoo.com/llleavey/AHInsqIk/square.jpg" width_sq="75" height_sq="75" url_t="http://photo0.yupoo.com/llleavey/AHInsqIk/thumb.jpg" width_t="100" height_t="67" url_s="http://photo0.yupoo.com/llleavey/AHInsqIk/small.jpg" width_s="240" height_s="160" url_m="http://photo0.yupoo.com/llleavey/AHInsqIk/medium.jpg" width_m="500" height_m="333" url_b="http://photo0.yupoo.com/llleavey/AHInsqIk/big.jpg" width_b="800" height_b="533" url_l="http://photo0.yupoo.com/llleavey/AHInsqIk/large.jpg" width_l="1024" height_l="683">
            <description/>
        ......
    </photos>
</result>

错误代号

代号 消息 解释
1 Not a valid date string 日期格式不对
1 No interesting photos are available for that date 提交的日期没有精彩照片