Skip to content

NoeReboul/GroupePSA-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Groupe PSA nodeJS lib

Build Status

A small nodeJS library of the PSA Group API

Installation

npm install GroupePSAConnectedCar

Usage

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);
	}
});

Tests

npm test

Contributing

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.

Todo

  • comments
  • implement POST operations
  • implement PUT operations

Release History

  • 0.1.0 Initial release

About

A small nodeJS lib for PSA Group Connected Car API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published