Tried Using Yahoo! Search Web API

Tadashi Shigeoka ·  Sun, August 28, 2011

 

I tried using the Yahoo! Search Web API provided by Yahoo! Developer Network.  

Yahoo! Developer Network

・API List:Yahoo! Developer Network - Documentation  

If you have a Yahoo ID, you can easily use the API by registering an application and getting an app ID.  

Yahoo! Developer Network - Develop New Application  

I tried using Yahoo!‘s web search API as a test.

Yahoo! Developer Network - Search - Web Search  

I set my app ID (appid), search query (query) to Python, and the number of returned results (results) to 2, then sent a request from the browser.  

■ Request URL and Request Parameters

http://search.yahooapis.jp/WebSearchService/V2/webSearch?appid=YourAppID&query=Python&results=2  

■ Response



Japan Python Users Group
News, language introduction, tutorials.
http://www.python.jp/
http://www.python.jp/



http://cache.yahoofs.jp/search/cache?c=Cs14y_5sgy4J&u=http://www.python.jp/&p=Python

44000



Python - Wikipedia

Python is an open-source programming language created by Dutch programmer Guido van Rossum. It is a type of object-oriented scripting language and is widely used in Europe and America along with Perl. It was named after the comedy show "Monty Python's Flying Circus" produced by the British television station BBC...

http://ja.wikipedia.org/wiki/Python
http://ja.wikipedia.org/wiki/Python



http://cache.yahoofs.jp/search/cache?c=V7-JAW94jyQJ&u=http://ja.wikipedia.org/wiki/Python&p=Python

123000



 

That’s all.

That’s all from the Gemba.