New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

campbx

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

campbx

campbx.com API client for node.js

0.0.7
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-campbx

An unofficial node.js client for the camp bx api including public market data api methods.

Installation

node-campbx is available as campbx on npm.

npm install campbx

Usage

var CampBX = require('campbx'),
    campBXTrade = new CampBX("YourUsername", "YourPassword"),
    // No need to provide keys if you're only using the public api methods.
    campBXPublic = new CampBX();

// Public API method call
// Note: Could use "campBXTrade" here as well.
campBX.ticker(function(err, data) {
  if(err) {
    throw err;
  }

  console.log(data);
});

// Trade API method call.
campBX.myFunds(function(err, data) {
  if(err) {
    throw err;
  }

  console.log(data);
});

Reference

A method-by-method reference is available on the wiki.

License

This module is ISC licensed.

Keywords

btc

FAQs

Package last updated on 13 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts