slide1 l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Best Sellers API PowerPoint Presentation
Download Presentation
Best Sellers API

Loading in 2 Seconds...

play fullscreen
1 / 16

Best Sellers API - PowerPoint PPT Presentation


  • 242 Views
  • Uploaded on

Best Sellers API. Current Best-Seller List. Must specify list-name parameter Leaving off date parameter gives current week http://api.nytimes.com/svc/books/v2/lists/hardcover-fiction.xml?api-key={api-key}. http://api.nytimes.com/svc/books/v2/lists/hardcover-fiction.xml?api-key={api-key}.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Best Sellers API' - ivanbritt


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
current best seller list
Current Best-Seller List
  • Must specify list-name parameter
  • Leaving off date parameter gives current week

http://api.nytimes.com/svc/books/v2/lists/hardcover-fiction.xml?api-key={api-key}

http api nytimes com svc books v2 lists hardcover fiction xml api key api key
http://api.nytimes.com/svc/books/v2/lists/hardcover-fiction.xml?api-key={api-key}http://api.nytimes.com/svc/books/v2/lists/hardcover-fiction.xml?api-key={api-key}
best seller list names
Best-Seller List Names
  • To get all possible list-name options, see the names service:

http://api.nytimes.com/svc/books/v2/lists/names.xml?api-key={api-key}

http api nytimes com svc books v2 lists names xml api key api key
http://api.nytimes.com/svc/books/v2/lists/names.xml?api-key={api-key}http://api.nytimes.com/svc/books/v2/lists/names.xml?api-key={api-key}
previous best seller list
Previous Best-Seller List
  • To get a previous list, specify a date parameter in the URL prior to the list-name.
  • The date parameter does not have to be exact, we will find the closest list to the date you specified (going forward in time).

http://api.nytimes.com/svc/books/v2/lists/2008-10-06/hardcover-fiction.xml?api-key={api-key}

http api nytimes com svc books v2 lists 2008 10 06 hardcover fiction xml api key api key
http://api.nytimes.com/svc/books/v2/lists/2008-10-06/hardcover-fiction.xml?api-key={api-key}http://api.nytimes.com/svc/books/v2/lists/2008-10-06/hardcover-fiction.xml?api-key={api-key}
sorting basic list
Sorting Basic List

List service can be sorted on the following fields:

  • isbn 
  • list-name ( or just list )
  • published-date (or just date)
  • bestsellers-date 
  • weeks-on-list
  • rank 
  • rank-last-week

http://api.nytimes.com/svc/books/v2/lists/2008-10-06/hardcover-fiction.xml?sort-by=weeks-on-list&sort-order=DESC&api-key={api-key}

best seller list search
Best-Seller List Search

More flexible option for retrieving list information

Search parameters are same as sort parameters:

  • isbn 
  • list-name ( or just list )
  • published-date (or just date)
  • bestsellers-date 
  • weeks-on-list
  • rank 
  • rank-last-week

http://api.nytimes.com/svc/books/v2/lists.xml?date=2008-10-06&list=hardcover-fiction&api-key={api-key}

http://api.nytimes.com/svc/books/v2/lists.xml?date=2008-10-06&list=hardcover-fiction&weeks-on-list=2&sort-by=rank-last-week&sort-order=DESC&api-key={api-key}

best seller search
Best Seller Search

Search for all lists for specific book, author and more

Search and sort options are the following:

  • isbn 
  • title
  • price 
  • publisher 
  • contributor 
  • author 
  • age-group

http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&api-key={api-key}

http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&title=Road&api-key={api-key}

http api nytimes com svc books v2 lists best sellers history xml author mccarthy api key api key
http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&api-key={api-key}http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&api-key={api-key}
slide14
http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&title=Road&api-key={api-key}http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=McCarthy&title=Road&api-key={api-key}
sorting best seller search
Sorting Best Seller Search

All search fields may also be used as sort parameters

  • isbn 
  • title
  • price 
  • publisher 
  • contributor 
  • author 
  • age-group

http://api.nytimes.com/svc/books/v2/lists/best-sellers/history.xml?author=Grisham&sort-by=title&api-key={api-key}

show us your apps
Show Us Your Apps

Check out the New York Times Developer Network forum and let us know what apps you are building.