On his code-diesel blog Sameer Borate takes a look at a script that can interfce with the New York Times Bestseller list API the newspaper offers.
According to the New York Times website:
Like many organizations, we hope to encourage innovation through collaboration. When you build applications, create mashups and otherwise reveal the potential of our data, we learn more about what our readers want and gain insight into how news and information can be reimagined. Weâ€™re hoping youâ€™ll show us whatâ€™s next for The Times.
You'll need two things - an API key and this PHP class. With it you can search based on book type (genre), list date and get the information back in an XML format. The results are an easily parsable XML structure that includes the book title, publisher, ISBN number(s) and rankings for teh current and previous weeks.