Skip to content

Instantly share code, notes, and snippets.

@niinpatel
Created Sep 28, 2018
Embed
What would you like to do?
sample.xml
<GoodreadsResponse>
<Request>
<authentication>true</authentication>
<key>
<![CDATA[ redacted ]]>
</key>
<method>
<![CDATA[ search_index ]]>
</method>
</Request>
<search>
<query>
<![CDATA[ Ender's Game ]]>
</query>
<results-start>1</results-start>
<results-end>20</results-end>
<total-results>626</total-results>
<source>Goodreads</source>
<query-time-seconds>0.31</query-time-seconds>
<results>
<work>
<id type="integer">2422333</id>
<books_count type="integer">229</books_count>
<ratings_count type="integer">963448</ratings_count>
<text_reviews_count type="integer">40255</text_reviews_count>
<original_publication_year type="integer">1985</original_publication_year>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.30</average_rating>
<best_book type="Book">
<id type="integer">375802</id>
<title>Ender's Game (Ender's Saga, #1)</title>
<author>
<id type="integer">589</id>
<name>Orson Scott Card</name>
</author>
<image_url>
https://images.gr-assets.com/books/1408303130m/375802.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1408303130s/375802.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">938064</id>
<books_count type="integer">57</books_count>
<ratings_count type="integer">78361</ratings_count>
<text_reviews_count type="integer">759</text_reviews_count>
<original_publication_year type="integer">1984</original_publication_year>
<original_publication_month type="integer">12</original_publication_month>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.18</average_rating>
<best_book type="Book">
<id type="integer">44687</id>
<title>Enchanters' End Game (The Belgariad, #5)</title>
<author>
<id type="integer">8732</id>
<name>David Eddings</name>
</author>
<image_url>
https://images.gr-assets.com/books/1217735909m/44687.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1217735909s/44687.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">55447683</id>
<books_count type="integer">37</books_count>
<ratings_count type="integer">22735</ratings_count>
<text_reviews_count type="integer">1540</text_reviews_count>
<original_publication_year type="integer">2017</original_publication_year>
<original_publication_month type="integer">11</original_publication_month>
<original_publication_day type="integer">14</original_publication_day>
<average_rating>4.16</average_rating>
<best_book type="Book">
<id type="integer">34368113</id>
<title>End Game (Will Robie, #5)</title>
<author>
<id type="integer">9291</id>
<name>David Baldacci</name>
</author>
<image_url>
https://images.gr-assets.com/books/1495976812m/34368113.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1495976812s/34368113.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">42437887</id>
<books_count type="integer">4</books_count>
<ratings_count type="integer">5140</ratings_count>
<text_reviews_count type="integer">611</text_reviews_count>
<original_publication_year type="integer">2015</original_publication_year>
<original_publication_month type="integer">9</original_publication_month>
<original_publication_day type="integer">8</original_publication_day>
<average_rating>4.10</average_rating>
<best_book type="Book">
<id type="integer">22874150</id>
<title>The End Game</title>
<author>
<id type="integer">6876994</id>
<name>Kate McCarthy</name>
</author>
<image_url>
https://images.gr-assets.com/books/1423089153m/22874150.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1423089153s/22874150.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">44223038</id>
<books_count type="integer">18</books_count>
<ratings_count type="integer">5155</ratings_count>
<text_reviews_count type="integer">416</text_reviews_count>
<original_publication_year type="integer">2015</original_publication_year>
<original_publication_month type="integer">9</original_publication_month>
<original_publication_day type="integer">15</original_publication_day>
<average_rating>4.25</average_rating>
<best_book type="Book">
<id type="integer">24611928</id>
<title>The End Game (A Brit in the FBI, #3)</title>
<author>
<id type="integer">1239</id>
<name>Catherine Coulter</name>
</author>
<image_url>
https://images.gr-assets.com/books/1425319746m/24611928.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1425319746s/24611928.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">11571577</id>
<books_count type="integer">1</books_count>
<ratings_count type="integer">1118</ratings_count>
<text_reviews_count type="integer">46</text_reviews_count>
<original_publication_year type="integer">2010</original_publication_year>
<original_publication_month type="integer">4</original_publication_month>
<original_publication_day type="integer">30</original_publication_day>
<average_rating>4.14</average_rating>
<best_book type="Book">
<id type="integer">8782597</id>
<title>Ender's Game</title>
<author>
<id type="integer">2940867</id>
<name>Frederic P. Miller</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">6581562</id>
<books_count type="integer">5</books_count>
<ratings_count type="integer">33352</ratings_count>
<text_reviews_count type="integer">225</text_reviews_count>
<original_publication_year type="integer">2009</original_publication_year>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.37</average_rating>
<best_book type="Book">
<id type="integer">6393082</id>
<title>
Ender's Game, Volume 1: Battle School (Ender's Saga)
</title>
<author>
<id type="integer">38491</id>
<name>Christopher Yost</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">12530</id>
<books_count type="integer">3</books_count>
<ratings_count type="integer">1810</ratings_count>
<text_reviews_count type="integer">61</text_reviews_count>
<original_publication_year type="integer">2002</original_publication_year>
<original_publication_month type="integer">9</original_publication_month>
<original_publication_day type="integer">16</original_publication_day>
<average_rating>4.49</average_rating>
<best_book type="Book">
<id type="integer">9735</id>
<title>
Ender's Game Boxed Set: Ender's Game, Ender's Shadow, Shadow of the Hegemon
</title>
<author>
<id type="integer">589</id>
<name>Orson Scott Card</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">7272274</id>
<books_count type="integer">3</books_count>
<ratings_count type="integer">12918</ratings_count>
<text_reviews_count type="integer">52</text_reviews_count>
<original_publication_year type="integer">2010</original_publication_year>
<original_publication_month type="integer">3</original_publication_month>
<original_publication_day type="integer">24</original_publication_day>
<average_rating>4.61</average_rating>
<best_book type="Book">
<id type="integer">7025086</id>
<title>Ender's Game, Volume 2: Command School</title>
<author>
<id type="integer">38491</id>
<name>Christopher Yost</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">51609213</id>
<books_count type="integer">7</books_count>
<ratings_count type="integer">958</ratings_count>
<text_reviews_count type="integer">263</text_reviews_count>
<original_publication_year type="integer">2018</original_publication_year>
<original_publication_month type="integer">1</original_publication_month>
<original_publication_day type="integer">2</original_publication_day>
<average_rating>4.25</average_rating>
<best_book type="Book">
<id type="integer">30985221</id>
<title>End Game (Dirty Money, #4)</title>
<author>
<id type="integer">73977</id>
<name>Lisa Renee Jones</name>
</author>
<image_url>
https://images.gr-assets.com/books/1497740135m/30985221.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1497740135s/30985221.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">45665816</id>
<books_count type="integer">11</books_count>
<ratings_count type="integer">674</ratings_count>
<text_reviews_count type="integer">49</text_reviews_count>
<original_publication_year type="integer">2014</original_publication_year>
<original_publication_month type="integer">11</original_publication_month>
<original_publication_day type="integer">6</original_publication_day>
<average_rating>3.89</average_rating>
<best_book type="Book">
<id type="integer">25809834</id>
<title>The End Game (Templar, #5)</title>
<author>
<id type="integer">26011</id>
<name>Raymond Khoury</name>
</author>
<image_url>
https://images.gr-assets.com/books/1451140269m/25809834.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1451140269s/25809834.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">53830455</id>
<books_count type="integer">2</books_count>
<ratings_count type="integer">1639</ratings_count>
<text_reviews_count type="integer">123</text_reviews_count>
<original_publication_year type="integer" nil="true"/>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.43</average_rating>
<best_book type="Book">
<id type="integer">33144572</id>
<title>End Game (Fallen Empire, #8)</title>
<author>
<id type="integer">4512224</id>
<name>Lindsay Buroker</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">56238306</id>
<books_count type="integer">3</books_count>
<ratings_count type="integer">984</ratings_count>
<text_reviews_count type="integer">44</text_reviews_count>
<original_publication_year type="integer" nil="true"/>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.29</average_rating>
<best_book type="Book">
<id type="integer">34963329</id>
<title>End Game (Jack Noble #12)</title>
<author>
<id type="integer">6151659</id>
<name>L.T. Ryan</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">61846440</id>
<books_count type="integer">2</books_count>
<ratings_count type="integer">758</ratings_count>
<text_reviews_count type="integer">211</text_reviews_count>
<original_publication_year type="integer" nil="true"/>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.46</average_rating>
<best_book type="Book">
<id type="integer">39947220</id>
<title>End Game (Bellevue Bullies, #4)</title>
<author>
<id type="integer">5255580</id>
<name>Toni Aleo</name>
</author>
<image_url>
https://images.gr-assets.com/books/1526291653m/39947220.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1526291653s/39947220.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">17050695</id>
<books_count type="integer">2</books_count>
<ratings_count type="integer">567</ratings_count>
<text_reviews_count type="integer">25</text_reviews_count>
<original_publication_year type="integer">2010</original_publication_year>
<original_publication_month type="integer">3</original_publication_month>
<original_publication_day type="integer">10</original_publication_day>
<average_rating>4.35</average_rating>
<best_book type="Book">
<id type="integer">12082688</id>
<title>Ender's Game Ultimate Collection</title>
<author>
<id type="integer">38491</id>
<name>Christopher Yost</name>
</author>
<image_url>
https://images.gr-assets.com/books/1372911791m/12082688.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1372911791s/12082688.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">10523104</id>
<books_count type="integer">4</books_count>
<ratings_count type="integer">717</ratings_count>
<text_reviews_count type="integer">28</text_reviews_count>
<original_publication_year type="integer">2009</original_publication_year>
<original_publication_month type="integer">12</original_publication_month>
<original_publication_day type="integer">9</original_publication_day>
<average_rating>3.97</average_rating>
<best_book type="Book">
<id type="integer">7734468</id>
<title>Ender's Game: War of Gifts</title>
<author>
<id type="integer">236462</id>
<name>Jake Black</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">40179821</id>
<books_count type="integer">3</books_count>
<ratings_count type="integer">1050</ratings_count>
<text_reviews_count type="integer">150</text_reviews_count>
<original_publication_year type="integer">2014</original_publication_year>
<original_publication_month type="integer">1</original_publication_month>
<original_publication_day type="integer">30</original_publication_day>
<average_rating>4.14</average_rating>
<best_book type="Book">
<id type="integer">20829088</id>
<title>His End Game (MMG #1)</title>
<author>
<id type="integer">7857834</id>
<name>R.B. Hilliard</name>
</author>
<image_url>
https://images.gr-assets.com/books/1393774525m/20829088.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1393774525s/20829088.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">14970257</id>
<books_count type="integer">10</books_count>
<ratings_count type="integer">177</ratings_count>
<text_reviews_count type="integer">33</text_reviews_count>
<original_publication_year type="integer">2010</original_publication_year>
<original_publication_month type="integer">12</original_publication_month>
<original_publication_day type="integer">25</original_publication_day>
<average_rating>3.69</average_rating>
<best_book type="Book">
<id type="integer">10073669</id>
<title>End Game</title>
<author>
<id type="integer">512936</id>
<name>Matthew Glass</name>
</author>
<image_url>
https://s.gr-assets.com/assets/nophoto/book/111x148-bcc042a9c91a29c1d680899eff700a03.png
</image_url>
<small_image_url>
https://s.gr-assets.com/assets/nophoto/book/50x75-a91bf249278a81aabab721ef782c4a74.png
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">40880256</id>
<books_count type="integer">2</books_count>
<ratings_count type="integer">282</ratings_count>
<text_reviews_count type="integer">24</text_reviews_count>
<original_publication_year type="integer">2014</original_publication_year>
<original_publication_month type="integer">3</original_publication_month>
<original_publication_day type="integer">22</original_publication_day>
<average_rating>3.68</average_rating>
<best_book type="Book">
<id type="integer">21545825</id>
<title>End Game</title>
<author>
<id type="integer">8081215</id>
<name>Tabatha Wenzel</name>
</author>
<image_url>
https://images.gr-assets.com/books/1395703564m/21545825.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1395703564s/21545825.jpg
</small_image_url>
</best_book>
</work>
<work>
<id type="integer">52043806</id>
<books_count type="integer">3</books_count>
<ratings_count type="integer">252</ratings_count>
<text_reviews_count type="integer">100</text_reviews_count>
<original_publication_year type="integer" nil="true"/>
<original_publication_month type="integer" nil="true"/>
<original_publication_day type="integer" nil="true"/>
<average_rating>4.44</average_rating>
<best_book type="Book">
<id type="integer">31360437</id>
<title>Game Ender (Game #4)</title>
<author>
<id type="integer">6886702</id>
<name>B.J. Harvey</name>
</author>
<image_url>
https://images.gr-assets.com/books/1490783857m/31360437.jpg
</image_url>
<small_image_url>
https://images.gr-assets.com/books/1490783857s/31360437.jpg
</small_image_url>
</best_book>
</work>
</results>
</search>
</GoodreadsResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment