Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

amazon-book-search-se

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-book-search-se

Simple wrapper around apac to return book results from Amazon's Product Advertising API. Based on amazon-book-search by kuryaki.

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by700%
Maintainers
1
Weekly downloads
 
Created
Source

Amazon Book Search SE

This allows you to find books on amazon through their Product Advertising API. It is a simplified version of amazon-book-search (does not provide express middleware interface). This version does not humanize the results and returns them in original Amazon format. Works well searching by ISBN as well as keywords.

Install

 $ npm install amazon-book-search

Requirements

You will need an Amazon API key, secret and associate ID to use this service. For more information,
look at the Amazon Product Advertising API documentation.

library

var amazonBookSearchSE = require('amazon-book-search-se');
var absse =  new amazonBookSearchSE('awsKey', 'awsSecret', 'awsAssociateId');

// search by ISBN
absse.search('9781413027570', function(error, result){
    if(error){
        console.log(error);
    } else {
        console.log(result);
    }
});

// search by title - first page of 10 results
absse.search('catcher in the rye', function(error, result){
    if(error){
        console.log(error);
    } else {
        console.log(result);
    }
}, 1);

// search by title - second page of 10 results
absse.search('catcher in the rye', function(error, result){
    if(error){
        console.log(error);
    } else {
        console.log(result);
    }
}, 2);

There is a maximum of 10 pages returned by Amazon so only 100 products will be displayed.

FAQs

Package last updated on 29 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc