A small nodeJS library of the PSA Group API
npm install GroupePSAConnectedCar
var PSA = require('GroupePSAConnectedCar');
var psa = new PSA({
'client_id': '',
'name': "myFirstApp",
'language': 'fr_FR'
});
var vehicle = {
'vin' : '123456',
'contract': 'ABCDEF',
'brand': 'C'
};
psa.environment.get(vehicle, '1,2,3,4,5,6,7,8,9,10,11,12', function(err,res){
if (!err) {
console.log(res);
}
});
npm test
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
- comments
- implement POST operations
- implement PUT operations
- 0.1.0 Initial release