1.1.2 • Published 8 years ago

psapi v1.1.2

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
8 years ago

Pointshop API (PSAPI)

A minimal node module providing utility methods read and write data from a MySQL server containing pointshop data. Get the module here npm version

Installation

  npm install psapi --save

Usage

var psapi = require('psapi'),
    PSConnection = psapi.Connection;

var Pointshop = new PSConnection('0.0.0.0', 'root', '', 'db', function( API ){
	API.GetUser('5465432168').AddItem('ItemName', [], false);
});

// OR
var Pointshop = new PSConnection('0.0.0.0', 'root', '', 'db');
Pointshop.OnConnect = function(API){
	API.GetUser('5465432168').AddItem('ItemName', [], false);
};

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.

Release History

  • 1.1.2 Rearanged file structure
  • 1.1.0 Bug fixes, proper tests.
  • 1.0.0 Initial release
1.1.2

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago