PBS Web Services - Widgets and API for Bloggers & Web Developers

The PaperBackSwap Team is pleased to announce that we've made it easier than ever to get your PBS data onto your personal site, blog, or favorite social networking community. We've upgraded PBS Web Services (PBSWS), our developer tools and API to facilitate the development of applications by our technically-savvy users, and made it compatible with the hottest technologies and platforms on the Web today. On top of this new API we've also built some "stock" widgets that anyone can copy-paste onto their own site, no technical skill or programming knowledge required!

IMPORTANT NOTE: To use any of these tools, you have to be a member of the site. Please make sure that you are logged in before copying the code below. For the widget to access your personal Bookshelf, TBR Pile, Wish List or Books I've Read list, you must have a Public Profile set up under Account Settings. Other information is available without a Public Profile, consistent with the policies that govern the rest of the site. We've taken great care to preserve the privacy of our users while making your information available to do with as you wish.

Widgets

Below is an example of the "Recently Swapped" Widget for PBS:

The widgets Recently Swapped and Recently Posted lists below can be used by anyone, on any site or community where you're allowed to execute Javascript. If you use the Wish List, Bookshelf, Books I've Read list and TBR Pile please see the IMPORTANT NOTE above.

To include one of these lists on your site, just copy the code for the widget you'd like to use, and paste it where you would like the widget to appear on your site. For now you can only include one widget per page. One per page? A page being a single web page or blog page, NOT an entire web site. So choose your favorite and give it a try! If you need any help, please don't be afraid to ask.

Recently Posted

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=RecentlyPosted&MemberID="></script>

Recently Swapped

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=RecentlySwapped&MemberID="></script>

My Wish List

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=WishList&MemberID="></script>

My Bookshelf

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=Bookshelf&MemberID="></script>

Books I've Read

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=BIR&MemberID="></script>

TBR Pile

<script type="text/javascript" src="http://www.paperbackswap.com/api/v2/widgets.php?request=TBR&MemberID="></script>

API

To retrieve your MemberID please login and visit this page.

To develop your own applications, please refer to the documentation for the API you'd like to use. Both versions of the API are updated together, so they'll grant access to the same data, and have a similar set of features. Version 1 is the original PBSWS API, using XML for results. Version 2 uses JSON objects to pass in the requested data. If you'd prefer not to develop your own applications, please look below for our selection of pre-made widgets.