Socket
Socket
Sign inDemoInstall

node-lykke-api

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-lykke-api

Lykke API Node Wrapper


Version published
Maintainers
1
Created

Readme

Source

Lykke API Node Wrapper

Build Status npm version Coverage Status Latest Documentation dependencies Status devDependencies Status

Installation

npm install --save node-lykke-api

Usage

// Import the desired module
const { LykkePublicAPI, LykkeWalettAPI } = require('node-lykke-api');

// Create an instance
const publicAPI = new LykkePublicAPI();
const walettAPI = new LykkeWalettAPI();

// Get stuff done
publicAPI
    .isAlive()
    .then(response => {
        console.log(response.data);
        console.log(response.status);
    })
    .catch(error => {
        console.log(error);
    });

walettAPI
    .isAlive()
    .then(response => {
        console.log(response.data);
        console.log(response.status);
    })
    .catch(error => {
        console.log(error);
    });

Methods

Lykke Public API

https://lykke-public-api.azurewebsites.net/swagger/ui/index.html

AssetPairs
assetPairsRates()
assetPairsRates(assetPairId)
assetPairsDictionary()
assetPairsRatesHistory(assetPairIds, period, dateTime)
Assets
assetsDictionary()
Company
companyOwnershipStructure()
IsAlive
isAlive()
Market
market()
market(assetPairId)
marketCapitalization(assetPairId)
OrderBook
orderBook()
orderBook(assetPairId)
Trades
trades(n)
Version
version()

Lykke Wallet API

https://api.lykkex.com/swagger/ui/index/index.html

Incomplete API, a V2 is in progress. https://www.reddit.com/r/lykke/comments/6u20kq/is_the_api_ready_or_still_in_progress/

AccountExist
accountExist(email, partnerId)
Auth
auth(email, password, clientInfo, partnerId)
IsAlive
isAlive()
Version
version()

Contributors

FAQs

Last updated on 23 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc