Advertisement
Guest User

Overdrive response

a guest
Apr 5th, 2017
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.19 KB | None | 0 0
  1. [2017-04-05 10:51:54] open-ils.ebook_api [INFO:13018:CStoreEditor.pm:139:1491403236316122] editor[0|0] json_query : returned 1 result(s)
  2. [2017-04-05 10:51:54] open-ils.ebook_api [INFO:13018:HTTPClient.pm:93:1491403236316122] HTTPClient: sending HTTP POST request to https://oauth.overdrive.com/token
  3. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:13018:EbookAPI.pm:374:1491403236316122] EbookAPI: response received from server: 200 OK
  4. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:13018:HTTPClient.pm:93:1491403236316122] HTTPClient: sending HTTP GET request to https://api.overdrive.com/v1/libraries/1554
  5. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:13018:EbookAPI.pm:374:1491403236316122] EbookAPI: response received from server: 200 OK
  6. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:13018:OverDrive.pm:166:1491403236316122] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  7. 'status' => '200 OK',
  8. 'content' => {
  9. 'id' => 1554,
  10. 'type' => 'Library',
  11. 'collectionToken' => 'v1L1B5QAAAA2s',
  12. 'links' => {
  13. 'products' => {
  14. 'href' => 'http://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products',
  15. 'type' => 'application/vnd.overdrive.api+json'
  16. },
  17. 'dlrHomepage' => {
  18. 'href' => 'http://noble.lib.overdrive.com',
  19. 'type' => 'text/html'
  20. },
  21. 'self' => {
  22. 'type' => 'application/vnd.overdrive.api+json',
  23. 'href' => 'http://api.overdrive.com/v1/libraries/1554'
  24. }
  25. },
  26. 'formats' => [
  27. {
  28. 'name' => 'Adobe PDF eBook',
  29. 'id' => 'ebook-pdf-adobe'
  30. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:13018:Transport.pm:163:1491403236316122] Message processing duration: 0.638
  31. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:29219:Application.pm:159:1491403236316123] CALL: open-ils.ebook_api open-ils.ebook_api.patron.get_transactions 7352813b918f6776076db48ad5112204, ebook_api.ses.fc7e6ab55f5a200c17d4528593eee7e7, 21658000616953
  32. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:29219:EbookAPI.pm:667:1491403236316123] EbookAPI: getting checkouts for patron 21658000616953
  33. open-ils.auth 2017-04-05 10:51:55 [INFO:4466:osrf_application.c:1070:1491403236316123] CALL: open-ils.auth open-ils.auth.session.retrieve "7352813b918f6776076db48ad5112204",1
  34. open-ils.auth 2017-04-05 10:51:55 [INFO:4466:oils_event.c:46:1491403236316123] Creating new event: SUCCESS
  35. open-ils.auth 2017-04-05 10:51:55 [INFO:4466:osrf_app_session.c:1177:1491403236316123] [open-ils.auth] sent 753 bytes of data to opensrf@private.localhost/open-ils.ebook_api_drone_at_localhost_29219
  36. open-ils.auth 2017-04-05 10:51:55 [INFO:4466:osrf_stack.c:163:1491403236316123] Message processing duration 0.001090
  37. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:29219:EbookAPI.pm:127:1491403236316123] EbookAPI: starting new OpenILS::Application::EbookAPI::OverDrive handler from cached session ebook_api.ses.fc7e6ab55f5a200c17d4528593eee7e7...
  38. [2017-04-05 10:51:55] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP POST request to https://oauth-patron.overdrive.com/patrontoken
  39. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  40. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP GET request to https://patron.api.overdrive.com/v1/patrons/me/checkouts
  41. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  42. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:OverDrive.pm:166:1491403236316123] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  43. 'status' => '200 OK',
  44. 'content' => {
  45. 'totalCheckouts' => 3,
  46. 'checkouts' => [
  47. {
  48. 'isFormatLockedIn' => bless( do{\(my $o = 0)}, 'JSON::XS::Boolean' ),
  49. 'formats' => [
  50. {
  51. 'reserveId' => '933B1DF7-FD67-4FCA-93F2-C37FE67F4A9D',
  52. 'linkTemplates' => {
  53. 'downloadLink' => {
  54. 'type' => 'application/vnd.overdrive.circulation.api+json',
  55. 'href' => 'http://patron.api.overdrive.com/v1/patrons/me/checkouts/933B1DF7-FD67-4FCA-93F2-C37FE67F4A9D/formats/ebook-overdrive/downloadlink?errorpageurl={errorpageurl}&odreadauthurl={odreadauthurl}'
  56. },
  57. 'downloadLinkV2' => {
  58.  
  59. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP GET request to https://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products/933B1DF7-FD67-4FCA-93F2-C37FE67F4A9D/metadata
  60. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  61. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:OverDrive.pm:166:1491403236316123] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  62. 'content' => {
  63. 'links' => {
  64. 'self' => {
  65. 'type' => 'application/vnd.overdrive.api+json',
  66. 'href' => 'http://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products/933B1DF7-FD67-4FCA-93F2-C37FE67F4A9D/metadata'
  67. }
  68. },
  69. 'isOwnedByCollections' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
  70. 'ATOS' => '7.3',
  71. 'fullDescription' => 'Zack Lightman has spent his life dreaming. Dreaming that the real world could be a little more like the countless science-fiction books, movies, and videogames he\'s spent his life consuming. Dreaming that one day, some fantastic, world-altering event will shatter the monotony of his humdrum existence and whisk him off on some grand space-faring adventure. <br><br>But hey, there\'s nothing wrong with a little escapism, right? After all, Zack tells himself, he knows the difference between fantasy and reality. He knows that here in the real world, aimless teenage gamers with anger issues don\'t get chosen to save the universe. <br><br>And then he sees the flying saucer. <br><br>Even stranger, the alien ship he\'s staring at is straight out of the videogame he plays every n
  72. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP GET request to https://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products/6D7ED6F0-544B-4B72-A95C-64352B0D818F/metadata
  73. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  74. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:OverDrive.pm:166:1491403236316123] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  75. 'is_success' => 1,
  76. 'content' => {
  77. 'images' => {
  78. 'cover300Wide' => {
  79. 'href' => 'https://img1.od-cdn.com/ImageType-400/5054-1/6D7/ED6/F0/{6D7ED6F0-544B-4B72-A95C-64352B0D818F}Img400.jpg',
  80. 'type' => 'image/jpeg'
  81. },
  82. 'cover' => {
  83. 'href' => 'https://img1.od-cdn.com/ImageType-100/5054-1/{6D7ED6F0-544B-4B72-A95C-64352B0D818F}Img100.jpg',
  84. 'type' => 'image/jpeg'
  85. },
  86. 'cover150Wide' => {
  87. 'type' => 'image/jpeg',
  88. 'href' => 'https://img1.od-cdn.com/ImageType-150/5054-1/6D7/ED6/F0/{6D7ED6F0-544B-4B72-A95C-64352B0D818F}Img150.jpg'
  89. },
  90. 'thumbnail' => {
  91. 'type' => 'image/jpeg',
  92. 'href' => 'https://img1.od-cdn.com/ImageType-200/5054-1/{6D7
  93. [2017-04-05 10:51:58] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP GET request to https://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products/A5D2B8C4-A60C-4660-A63C-A194C0B63BC9/metadata
  94. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  95. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:OverDrive.pm:166:1491403236316123] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  96. 'content' => {
  97. 'isOwnedByCollections' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
  98. 'links' => {
  99. 'self' => {
  100. 'href' => 'http://api.overdrive.com/v1/collections/v1L1B5QAAAA2s/products/A5D2B8C4-A60C-4660-A63C-A194C0B63BC9/metadata',
  101. 'type' => 'application/vnd.overdrive.api+json'
  102. }
  103. },
  104. 'isPublicDomain' => bless( do{\(my $o = 0)}, 'JSON::XS::Boolean' ),
  105. 'reviews' => [
  106. {
  107. 'source' => '<i>The Observer</i>',
  108. 'content' => '<p>"Delectably astringent. . . . These succinct, acridly funny pieces. . . deliver a heady punch." --<i>Los Angeles Times</i>"She has a cool wit, sometimes brutally satirical, always entertaining, and serious to the bone." --Katherine Dunn, <i>The Oregonian</i>"Atwood\'s sentences have more bounce and boogie than those of most twentysomethings.... And although these stories take many forms, from extended metaphor to anecdote, from poem to gag, they are all very much to do with the life and opinions of Margaret Atwood." --<i>The Times </i>(London)"<i>The Te
  109. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:EbookAPI.pm:81:1491403236316123] EbookAPI: overlaying new values on existing cache object
  110. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:EbookAPI.pm:667:1491403236316123] EbookAPI: getting holds for patron 21658000616953
  111. open-ils.auth 2017-04-05 10:51:59 [INFO:29165:osrf_application.c:1070:1491403236316123] CALL: open-ils.auth open-ils.auth.session.retrieve "7352813b918f6776076db48ad5112204",1
  112. open-ils.auth 2017-04-05 10:51:59 [INFO:29165:oils_event.c:46:1491403236316123] Creating new event: SUCCESS
  113. open-ils.auth 2017-04-05 10:51:59 [INFO:29165:osrf_app_session.c:1177:1491403236316123] [open-ils.auth] sent 753 bytes of data to opensrf@private.localhost/open-ils.ebook_api_drone_at_localhost_29219
  114. open-ils.auth 2017-04-05 10:51:59 [INFO:29165:osrf_stack.c:163:1491403236316123] Message processing duration 0.001272
  115. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:EbookAPI.pm:127:1491403236316123] EbookAPI: starting new OpenILS::Application::EbookAPI::OverDrive handler from cached session ebook_api.ses.fc7e6ab55f5a200c17d4528593eee7e7...
  116. [2017-04-05 10:51:59] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP POST request to https://oauth-patron.overdrive.com/patrontoken
  117. [2017-04-05 10:52:00] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  118. [2017-04-05 10:52:00] open-ils.ebook_api [INFO:29219:HTTPClient.pm:93:1491403236316123] HTTPClient: sending HTTP GET request to https://patron.api.overdrive.com/v1/patrons/me/holds
  119. [2017-04-05 10:52:01] open-ils.ebook_api [INFO:29219:EbookAPI.pm:374:1491403236316123] EbookAPI: response received from server: 200 OK
  120. [2017-04-05 10:52:01] open-ils.ebook_api [INFO:29219:OverDrive.pm:166:1491403236316123] EbookAPI: raw OverDrive HTTP response: $VAR1 = {
  121. 'is_success' => 1,
  122. 'content' => {
  123. 'totalItems' => 0,
  124. 'links' => {
  125. 'self' => {
  126. 'type' => 'application/vnd.overdrive.circulation.api+json',
  127. 'href' => 'http://patron.api.overdrive.com/v1/patrons/me/holds'
  128. }
  129. }
  130. },
  131. 'status' => '200 OK'
  132. };
  133.  
  134. [2017-04-05 10:52:01] open-ils.ebook_api [INFO:29219:EbookAPI.pm:81:1491403236316123] EbookAPI: overlaying new values on existing cache object
  135. [2017-04-05 10:52:01] open-ils.ebook_api [INFO:29219:Transport.pm:163:1491403236316123] Message processing duration: 5.750
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement