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

blockbid

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockbid

Typescript wrapper for BlockBid Australia Exchange

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status Dependencies

BlockBid Australia Wrapper

Typescript / Node wrapper for the APIs offered by BlockBid Australia

Setup

Install the dependancies with npm / yarn.

npm install blockbid --save

API Key

TODO

Usage

The API wrapper exposes several classes, Accounts, Apis, Deposits, Markets, Orders and Withdraws. Each class has methods for each API Endpoint as specified in the BlockBid API Documentation.

Exposed Functions

Authentication is required for some functions within each class. When requesting public end-points API Keys aren't required.

Example

Examples for usage of each function can be found within the [examples folder] (https://github.com/sketchthat/blockbid/tree/master/examples).

import { BlockBid } from 'blockbid';

// Public Method
const bb = new BlockBid();

bb.orders().markets()
  .then(resp => {
    console.log(resp);
  })
  .catch(err => {
    console.error(err.message);
  });

// Private Method
const bbPrivate = new BlockBid('MyApiKey', 'MyApiSecret');

bbPrivate.orders().order(112233)
  .then(resp => {
    console.log(resp);
  })
  .catch(err => {
    console.error(err.message);
  });

Keywords

FAQs

Package last updated on 16 Feb 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc