1.0.5 • Published 9 years ago

edsx-apiproduits v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

EDSX-API


Liste les produits.

Methode 1:

var ProductList = require('produitsedison')

ProductList.findByName(search, options, function(err, resp){
    // Do something
})

Methode 2:

var ProductList = require('produitsedison')

ProductList.findByNameAsync(search, options).then(function(resp) {
    // Do something
}, function(err) {
   console.log('err')
}) 

Return

{
    nom: String,
    image: String,
    prix: Number,
    objets: []
}

Options disponibles

{
    type: 0,            // 1/2/3/EL/PL/SE - Default: None
    limit: 10           // 1 - 100 - Default: 10 
}
1.0.5

9 years ago

1.0.3

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago