YUI has it's own APIs to interact with services provided by yahoo such as Yahoo! weather and Yahoo news.
mmm...looks like something like SQL??!!? In fact YQL is a query language that allows you to search and retrieve data from some of services provided by Yahoo! such as Yahoo answers (so next time you were looking for the solutions to your homework you could try "select * from answers where topic like '%chem 121%'")