🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@samuraitruong/coinspot-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samuraitruong/coinspot-api

A simple nodejs library to access coinspot api - this is not official library from coinspot but it was nice developed.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Coinspot API for nodejs

  • public api
  • read only api
  • full api

Usage

Full API

import {CoinSpotClient} from '@samuraitruong/coinspot-api';
const client = new CoinSpotClient(
    process.env.COINSPOT_KEY,
    process.env.COINSPOT_SECRET,
  );

  const balance = await client.myBalance();
  console.log(balance)

Full API

import {ReadOnlyClient} from '@samuraitruong/coinspot-api';
const client = new ReadOnlyClient(
    process.env.COINSPOT_KEY_READ_ONLY,
    process.env.COINSPOT_SECRET_READ_ONLY,
  );

  const adaTransactions = await client.myTransactions('ada');
  console.log(adaTransactions)

Documents

Auto generated document can be found here - https://samuraitruong.github.io/coinspot-api/

FAQs

Package last updated on 19 Feb 2021

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