aex12 / node-coinmarketcap Goto Github PK
View Code? Open in Web Editor NEWA node module to connect to CoinMarketCap API
License: MIT License
A node module to connect to CoinMarketCap API
License: MIT License
Using the multi get with symbols, certain symbols don't seem to work. Here are just a few that I came across that don't work.
STORJ
CND
ANT
ZEN
Thanks!
Hey first of all thank you for the brilliant library. I was testing your example and came across this issue
PS C:\Users\vivz\Desktop> node test
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
BTC price is greater than 4000 of your defined currency
Is it possible to have the alert just fire once. Also is it possible to have multiple greater or lesser alerts on the same currency? Thanks
UPDATE 1
I am modifying your code to add the ability to alert only once
I am trying to used your stuff for 0.10.48 nvm node.. can you help me? I can't get it working, maybe you can make support for it?
Peace!
coinmarketcap.on("block", coin =>
I get error
`undefined:1256
"p
^
SyntaxError: Unexpected token p in JSON at position 39941`
This isn't a typical nodeback library where the error is available in the callback, how can I handle errors?
Message on coinmarketcap API doc https://coinmarketcap.com/api/
Public API Version 1 will be taken offline on November 30th, 2018.
Please modify your application to use Version 2 prior to shutdown.
Randomly get different Syntax errors, here are 4 for example:
`undefined:17439``
"percent_chang
^
SyntaxError: Unexpected token p in JSON at position `552520'
undefined:994
"price_btc": "0.00012152
SyntaxError: Unexpected end of JSON input
undefined:16426
"name": "Cr
SyntaxError: Unexpected end of JSON input
undefined:12862
"market_c
^
SyntaxError: Unexpected token m in JSON at position 408253
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.