0.2.2 • Published 8 years ago

smite-session v0.2.2

Weekly downloads
46
License
MIT
Repository
github
Last release
8 years ago

SmiteSession

Installation

npm install smite-session

Usage

Simply require smite-session, set the config, then generate that Session ID

var smiteSession = require('smite-session');

smiteSession.set({
    devId: 'XXXX',
    authKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
});

smiteSession.genSession()
    .then(function(data){
    console.log(data);
}).catch(function(error){
    console.error(error);
});

Notes

The response is in JSON format. Here is an example of the structure.

{ ret_msg: 'Approved',
  session_id: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  timestamp: '11/15/2015 3:29:29 AM' }
0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago