skylinezum / node-coinigy Goto Github PK
View Code? Open in Web Editor NEWNode wrapper for Coinigy's REST API
License: MIT License
Node wrapper for Coinigy's REST API
License: MIT License
I just signed up for Coinigy, and holy $"ยง&=) am I going to be staying. I want to utilise your library and help maintain it.
What is undone? Where do you need help? What are your ideas on where we can take this sdk? etc.
Let me know! ๐
Hmm a lot of these will look interesting to test when you have to use a real account. I am not sure I want to run a test and do any transactions ๐
Thoughts on how to make the test environment as safe as possible for users of this package? Does Coinigy have a "sandbox" that provides test credentials for such a thing?
Hi, this is a super n00b question, I'm building a coinigy bot as the first thing I've programmed in almost 20 years :)
I really like what you have done. There are 2 things that I have come across from your "use" example.
- var Coinigy = require('node-coinigy');
var coinigy = new Coinigy('your-api-key', 'your-api-secret');coinigy.activity()
.then(function (body) {
console.log(body.data);
console.log(body.notifications);
})
.catch(function (err) {
console.log(err);
});
Those console log commands did not work for me. I ran into this exact issue: https://stackoverflow.com/questions/10729276/how-can-i-get-the-full-object-in-node-jss-console-log-rather-than-object
So to make it work I had to change it to this:
const util = require('util')
coinigy.activity()
.then(function (body) {
console.log(util.inspect(body.data, false, null));
console.log(util.inspect(body.notifications, false, null));
})
.catch(function (err) {
console.log(err);
});
The other thing is that I want to read the tickers now, so I want to do something like this:
const util = require('util')
coinigy.ticker()
.then(function (body) {
console.log(util.inspect(body.data, false, null));
console.log(util.inspect(body.notifications, false, null));
})
.catch(function (err) {
console.log(err);
});
But I don't understand how I should implement this bit: {exchange_code, exchange_market}
Thanks for the help! :)
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.