0.2.2 • Published 10 years ago

smite-session v0.2.2

Weekly downloads
46
License
MIT
Repository
github
Last release
10 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

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago