1.0.5 • Published 5 years ago

amazon-metadata-parser v1.0.5

Weekly downloads
3
License
Apache License 2....
Repository
github
Last release
5 years ago

amazon-metadata-parser

Motivation

This is a Node.js library created for my blog.

Amazon's Product Advertising API is strict. The goal is to get product photos and titles and display them in the blog text without using the API.

Get start

Install

yarn add amazon-metadata-parser

How to use

const amazonMetadataParser = require('amazon-metadata-parser');

amazonMetadataParser('https://www.amazon.com/Let-Be-Beatles/dp/B01929IA56/').then((metadata) => {
  console.log(metadata);
  /**
  * Response
  * {
  *   title: 'Let It Be',
  *   image: 'https://m.media-amazon.com/images/I/81KGh-kOzYL._SS500_.jpg',
  * }
  */
}).catch((error) => {
  throw error;
});

Support

  • Normal product page
  • Digital music
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago