352.5.3.
from("direct:start") .to("yql://select * from google.books where q='barack obama' and maxResults=1?format=xml&crossProduct=optimized&env=store://datatables.org/alltableswithkeys");
<?xml version="1.0" encoding="UTF-8"?> <query xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" yahoo:count="1" yahoo:created="2017-11-01T20:32:22Z" yahoo:lang="en-US"> <results> <json> <kind>books#volumes</kind> <totalItems>1993</totalItems> <items> <kind>books#volume</kind> <id>HRCHJp-V0QUC</id> <etag>SeTJeSgFDzo</etag> <selfLink>https://www.googleapis.com/books/v1/volumes/HRCHJp-V0QUC</selfLink> <volumeInfo> <title>Dreams from My Father</title> <subtitle>A Story of Race and Inheritance</subtitle> <authors>Barack Obama</authors> <publisher>Broadway Books</publisher> <publishedDate>2007-01-09</publishedDate> ... </volumeInfo> </items> </json> </results> </query> <!-- total: 646 -->
|
|
|
|