Skip to content

Instantly share code, notes, and snippets.

@pon
Created April 16, 2014 14:09
Show Gist options
  • Save pon/10881738 to your computer and use it in GitHub Desktop.
Save pon/10881738 to your computer and use it in GitHub Desktop.
Call Good Reads isbn_to_id Endpoint
var request = require('request');
request.get(' https://www.goodreads.com/book/isbn_to_id',
{
form: {
key: '********',
isbn: '9780060513030'
}
}, function(err, response, body) {
if(err) {
console.log('something went wrong');
} else {
var bookId = body;
console.log(bookId);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment