Paul
Paul

Reputation: 221

image size on customsearch api

Is there is a way to search image "larger than 400*300" as in google image with a customsearch in command line (python). The only options I have found for ImgSize are :icon,small, medium, xlarge, xxlarge and huge. Thx

Upvotes: 3

Views: 2067

Answers (1)

Port
Port

Reputation: 37

tbs=... appears to be a comma-separated list of filter:value entries which the search should use. For "larger than 400*300", use tbs=isz:lt.

You can find more of these values by simply applying filters and checking the value of this parameter in the resulting requests.

This may not be directly relevant. Could you clarify what you're trying to do and where?

Looking at a previous question you asked, is this question also regarding the Image Search API?

Upvotes: 1

Related Questions