Ok, "ColdFusion Yahoo Package" is kind of a dumb name, but I'm sharing my initial release of the API I've built for Yahoo's various web services. Right now I only support Search and Answers. Here is an example of using the Search API:
<cfset searchAPI = createObject("component", "org.camden.yahoo.search")>
<cfinvoke component="#searchAPI#" method="search" returnVariable="result">
<cfinvokeargument name="query" value="coldfusion blog">
</cfinvoke>
<cfdump var="#result#" label="Search for 'coldfusion blog'">
And here is an example that searches for resolved questions about ColdFusion:
<cfset answerAPI = createObject("component", "org.camden.yahoo.answers")>
<cfinvoke component="#answerAPI#" method="questionSearch" returnVariable="result">
<cfinvokeargument name="query" value="coldfusion">
<cfinvokeargument name="type" value="resolved">
</cfinvoke>
<cfdump var="#result#" label="Question search for 'coldfusion', type=resolved">
This code is not heavily tested, nor did I include a license just yet (it will be the same license as the rest of my code). The idea though is to create a very simple API for your ColdFusion applications to work with Yahoo. Feedback is appreciated.