Answer the question
In order to leave comments, you need to log in
Image search service by description instead of ajax.googleapis?
I used image search by name/description in my program using ajax.googleapis.com service. For a long time it was deprecated, but now it has finally been covered up.
Is there any similar free service that can be used from a desktop application via cURL?
Until recently, I used requests like " https://ajax.googleapis.com/ajax/services/search/i... ", getting json from image urls, etc.
The question is almost vital.
Answer the question
In order to leave comments, you need to log in
I found a solution through bing (5000 requests per month for free, instead of 100 per day, as Google had)
You need to register with bing and connect the Bing Search Api. You can then use queries like:
https://api.datamarket.azure.com/Bing/Search/v1/Im... 'QUERY'&$format=json&$Top=5
to get the top five results for that query in json format.
Because There is no AppId anymore, you have to use your username/password hash for authorization (you can find it on the bing search usage page by clicking the "show" link at the top of the page. For basic authorization in cURL, you get a code like this:
curl_easy_setopt( curlHandle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC ) ;
curl_easy_setopt ( curlHandle, CURLOPT_USERPWD, "HASH:HASH" );
curl_easy_perform( curlHandle ));
from desktop app
In general, I made a script for obtaining an image from the Google rss feed.
Quite simply, enter the name and get a picture
In China, they found a giant salamander
news.google.com/news?pz=1&cf=all&ned=ru_ru&hl=ru&q=In+ China+ they found a giant+ salamander +&as_qdr=w&as_drrb=q&cf=all&output=rss
t0.gstatic.com/images?q=tbn:ANd9GcTnHt3_pM3583VHW4...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question