2016年3月7日 星期一

Find out how to Get Goodreads Scores by way of API

goodreads

For e-book lovers who’ve a liking for a selected style, they’ll in all probability take a look at a pal’s suggestion than comply with any bestseller record. This is the reason Amazon’s : How to Display W3C Specification data using its Web API

To start, both login or sign up with a reputation, e-mail id and password to Goodreads and go to http://ift.tt/1TmF2Jj (link). Enter any software identify and firm identify and generate your API key. Then confirm your account via the e-mail acquired within the e-mail id you entered.

Make sure you take a look at their Developer Terms of Service for the API. Additionally they have an inventory of API strategies of their API page, a few of these strategies would require OAuth authentication, the remaining will solely want the developer key, just like the one we’ll take a look at on this submit.

The response sort of these strategies range, it is both solely in XML or JSON, or an choice to selected between these two utilizing the format parameter.

e-book.review_counts is a Goodreads API technique that’ll fetch all of the assessment stats for an inventory of ebook ISBNs. Its reponse sort is JSON. The request URL is like this: http://ift.tt/1QGmRs5 .

It takes 4 parameters:

  • key, which is the developer key
  • isbns – an array or single comma separated string of the ISBNs of the books that we would like the assessment stats of
  • format – the format of the response (although in all honesty, I am not likely positive why this one exists, because the response is all the time going to be in JSON. Plans for future implementations?)
  • callback, the perform that’ll wrap up the JSON response

Let’s take the 2 books; Head First Java, First version (ISBN: 0596009208) and JavaScript: The Good Elements, 1st version

The post Find out how to Get Goodreads Scores by way of API appeared first on DICKLEUNG DESIGN 2014.

沒有留言: