Miss any of our Open RFC calls?Watch the recordings here! »

mercari

0.0.2 • Public • Published

Mercari API (scraper)

Examples

.then:

const mercari = require("mercari")
mercari.search("東方 ふもふも").then(results => console.log(results))
/* returns an array of objects like
  productURL: string
  imageURL: string
  productName: string
  price: number
  productCode: string
  */

async/await:

const mercari = require("mercari")
async function getStuff() {
  const results = mercari.search("東方 ふもふも")
  console.log(results)
  /* returns an array of objects like
  productURL: string
  imageURL: string
  productName: string
  price: number
  productCode: string
  */
}

Install

npm i mercari

DownloadsWeekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

9.89 kB

Total Files

9

Last publish

Collaborators

  • avatar