1.0.1 • Published 8 years ago

storebox-api v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Storebox API

This is an unofficial API to Storebox.com.

Usage

npm install storebox-api --save 
var sb = require('node-rest-client').Storebox("[obtained key]");

test.cards(function(err, result){
    console.log("")
    console.log("Cards:")
    for (var i = result.length - 1; i >= 0; i--) {
        console.log(result[i].name);
    }
});

The [obtained key] can be found by logging in to Storebox, inspect, and find the cookie named 'auth-token' (Yes, it is a huge string).