1.0.5 • Published 5 years ago

node-ico-watchlist-api v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

node-ico-watchlist-api

Nodejs wrapper for icowatchlist.com

Build Status

NPM

API Implementation

Check examples folder for more info

const icowatchlistAPI = require('node-ico-watchlist-api'); // use node-ico-watchlist-api in production
const ico = new icowatchlistAPI()
ico.getFinished(function(resp,data){
  if(resp){
    console.log(JSON.stringify(data))
  } else {
    console.log('\nError');
  }
})

All callbacks have the same structure

/*
* @return {Boolean} response: result of the call.
* @return {String} json: data returned from icowatchlist.com API in JSON format, if the response is false json is an empty string
*/
callback(response,json);

Callbacks:

icoapi.getAll()
icoapi.getLive()
icoapi.getUpcoming()
icoapi.getFinished()
1.0.5

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago