Weibo Image Search API
Image posts matching a keyword. Costs 1 credit per request.
POST/api/v1/weibo/search/pics
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredSearch keyword. Max 200 characters.
Example: yu7
pageintegerResults page, 1-based. 1-50.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/search/pics", {"query": "yu7"})
print(result)Response
"total": 0,
"is_end": false
},
"response_time": 1277
}