• Register

Penguin Random House Developer Blog

Enhanced API v1.2.26 released

On Thursday June 22, 2017, version 1.2.26 of the Enhanced PRH API was released to production. If you encounter any problems with your applications as a result of these changes, please contact us at api@penguinrandomhouse.com.

Version 1.2.26 release notes

The /works/views/list-display representation contains two different ISBN fields, one is part of the frontlistiest object and the other is just called isbn. The frontlistiest object is always the frontlistiest title of the work (i.e. seq=1) regardless of what title filters have been specified as part of the request. On the other hand, the isbn element contains a member of the title family that also satisfies all of the specified fllter conditions. We got a request to return the on-sale date that corresponds to isbn and I immediately regretted the choice to not make isbn an object like frontliestiest is. So while we've left isbn as-is, we've added a new element called representative that has the same structure as frontlistiest but which contains the same ISBN as isbn as well as its on-sale date.

/domains/PRH.US/works/views/list-display?workId=228566&format=TR

        "frontlistiest": {
          "isbn": 9780449015131,
          "onsale": "2013-09-24"
        },
        "representative": {
          "isbn": 9780763687649,
          "onsale": "2016-09-13"
        },
        "isbn": 9780763687649,

UK titles (i.e. domains PRH.UK, RH.UK and PDK.UK) now have proper cover computed for some (though not all) endpoints.

/domains/PRH.UK/titles/9781783445295

          {
            "rel": "icon",
            "href": "http:\/\/rhdam.randomhouse.co.uk\/getimage.aspx?cat=default&class=books&type=jpg&mode=&size=origjpg&id=243428",
            "method": "GET",
            "parameters": null
          },

There was a new content field added to MyHouse called PRODUCT_FEATURE that is now available as part of  /titles/{isbn}/content. It has also been exposed in the /works/{workId}/views/product-display view as part of the additionalText element.

/domains/SALESPLATFORM/titles/9780553212563/content

      "product_feature": "This is sample content, sample content, sample content, sample content, sample content, sample content, sample content, sample content<\/b>, sample content, sample content, sample content, sample content, sample content, sample content, <i>sample content, <\/i>sample content, sample content, sample content, 


2017-06-15


18:22:04

* Stuff about this book
- Stuff about this book

Sample content
man
oh
man",

New Feature

  • [RHAPI-683] - Add on-sale date for the "isbn" element in /works/views/list-display
  • [RHAPI-701] - Generate links for UK cover images

Task

  • [RHAPI-707] - Add Special Market Product Features to the API