The TomatoTube mashup sample service can be used to obtains the top rated movies in theaters and on DVD from www.rottentomatoes.com and embeds a YouTube trailer to the feed.
Building the sample
For more information, see Building the sample.
Running the client
You can try this mashup service with Try It.
Operations
readTomatoTubeFeed
Obtains the top rated movies in theaters and on DVD from www.rottentomatoes.com and embeds a YouTube trailer to the feed, creating a mashed up feed. The current expected inputs are 'theater' and 'dvd'. The mashed up feed is written to a file in the workspace
directory.
Example request
<body> <p:readTomatoTubeFeed xmlns:p="http://services.mashup.wso2.org/tomatoTube?xsd"> <mode>theater</mode> </p:readTomatoTubeFeed> </body>
findTrailer
Uses the YouTube GData API to search for the trailer of a given movie.