vintedfrarticleparser

1.0.8 • Public • Published

Usage:

const vintedParser = require('vintedfrarticleparser');
 
let url = 'https://www.vinted.fr/enfants/pulls-a-capuche-and-sweatshirts/1710352-pull-pikachu';
 
let coolSweat = new vintedParser.Article(url);
 
coolSweat.fetchDetails()
    .then(details=>{
        console.log(details);
        /*
        {
            'name': 'Pull pikachu',
            'brand': 'nantendoh'
            'price': 20,
            'color': ['jaune', 'noir'],
            'size': 's',
            'photos': ['https://images.vinted.net/thumbs/f800/02604_1ZQUfG.jpeg'],
            'sold': false
        }
        */
    })
    .catch(function(){
        console.log('Something bad happened');
    })

Readme

Keywords

Package Sidebar

Install

npm i vintedfrarticleparser

Weekly Downloads

9

Version

1.0.8

License

ISC

Unpacked Size

4.45 kB

Total Files

3

Last publish

Collaborators

  • maxoomax