mercari
Version:
Scraper for JP site 'mercari' to check for stuff
35 lines (29 loc) • 620 B
Markdown
# Mercari API (scraper)
## Examples
.then:
```js
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:
```js
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
*/
}
```