Skip to content

juffalow/nodefinstatclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Node.js FinStat client

npm version npm downloads

Installation

With npm :

npm install finstatclient

With yarn :

yarn add finstatclient

Example

var finstatclient = require('finstatclient')('<api key>', '<private key>');

finstatclient.getCompanyDetail("35757442", function(data) {
    console.log(data);
}, function(statusCode) {
    switch(statusCode) {
        case 28:
            // timeout
            break;
        case 402:
            // exceeding the daily limit
            break;
        case 403:
            // unauthorized ( bad API key / private key, ... )
            break;
        case 404:
            // ICO not found in database
            break;
    }
});

About

Node.js client for FinStat API

Resources

Stars

Watchers

Forks

Packages