Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate's Blog:
NewYork Times Bestseller API access in PHP
Feb 23, 2009 @ 15:31:43

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.

tagged: newyorktimes api developer bestseller list class xml

Link:


Trending Topics: