Pixiv API

重要通知:此版本的API已退役,請使用第二版的API

Important Notice: This version API is retired and does not work anymore. Please migrate your service to API v2.

從Pixiv抓取圖片

POST  http://ha2.tw/rest/pixiv/artwork.(xml|json)

參數名參數說明 
pixiv_idPixiv作品ID 

抓取作品資訊

GET  http://ha2.tw/rest/pixiv/artwork.(xml|json)?pixiv_id={pixiv作品ID}

已抓取作品的列表

GET  http://ha2.tw/rest/pixiv/artworks.(xml|json)?page={第N頁}

回傳的結果

成功的回傳

<xml>
<artwork>
<photos>
<photo>http://ha2.tw/pixiv/21804742_e3a7e.jpg</photo>
</photos>
<title>久々に/もみぢこ</title>
<tags>
<tag>
<hash_id>cf2294dd0e4be02034a6d34bf9223b5d</hash_id>
<item>水着</item>
</tag>
<tag>
<hash_id>45324c5c3dba024d12b50ec940c47956</hash_id>
<item>オリジナル</item>
</tag>
</tags>
</artwork>
</xml>

執行發生錯誤時

<xml>
<error>此作品尚未抓取</error>
</xml>


Comments