Gyazo API
検索
ユーザーの保存した画像を検索するためのAPI
URL
GET https://api.gyazo.com/api/search
パラメータ
キー | 型 | 必須 | デフォルト | 備考 |
---|---|---|---|---|
access_token | string | ✓ | ユーザーのアクセストークン | |
query | string | ✓ | 検索クエリ(最大200文字) | |
page | integer | 1 | ページ番号 | |
per | integer | 20 | 1ページあたりの結果数(最大100) |
レスポンス
[ { "image_id": "8980c52421e452ac3355ca3e5cfe7a0c", "permalink_url": "http://gyazo.com/8980c52421e452ac3355ca3e5cfe7a0c", "thumb_url": "https://i.gyazo.com/thumb/afaiefnaf.png", "url": "https://i.gyazo.com/8980c52421e452ac3355ca3e5cfe7a0c.png", "type": "png", "created_at": "2014-05-21 14:23:10+0900", "metadata": { "app": null, "title": null, "url": null, "desc": "" }, "ocr": { "locale": "ja", "description": "サンプルテキスト\n" } }, ... ]
注意事項
- このAPIはNinjaユーザーのみ利用可能です
- 検索クエリは200文字未満である必要があります
- 1ページあたりの最大結果数は100件です