ebay-rss

1.0.4 • Public • Published

eBay RSS Parser

Parses eBay listings from their RSS search feed.

This is a thin wrapper for reading data from eBay's RSS feeds into a JSON object. Note that the RSS feeds are public and do not require any API access.

Installation

npm install ebay-rss

Usage:

const EbayRss = require('ebay-rss');
 
let ebayRss = new EbayRss();
ebayRss.search('The Beatles').then(results => {
  /* Iterate results.items */
});

Examples

Search By Category

Requires eBay's category ID, which can be found here: https://www.isoldwhat.com/getcats/

// Searches for 'The Beatles' in Vinyl Records
ebayRss.search('The Beatles', 176985).then(results => {
  /* Iterate through results.items */
});

Test

All test files are present inside the test folder. You can run using

npm run test

Issues

If you are facing any issues, you can create the issues here.

Contribution

Willing to share your idea or ready to contribute, check here

License

MIT

Package Sidebar

Install

npm i ebay-rss

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

186 kB

Total Files

10

Last publish

Collaborators

  • jcast029