https://github.com/developersteve/coinspot-mini
A mini SDK for the Coinspot read only API
https://github.com/developersteve/coinspot-mini
Last synced: 9 months ago
JSON representation
A mini SDK for the Coinspot read only API
- Host: GitHub
- URL: https://github.com/developersteve/coinspot-mini
- Owner: developersteve
- License: apache-2.0
- Created: 2021-02-18T04:45:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-18T05:18:25.000Z (about 5 years ago)
- Last Synced: 2025-04-29T15:21:24.129Z (11 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Mini SDK for the read only coinspot API, this only contains what you need to get account balances and transactions.
Have a look at https://www.coinspot.com.au/api for more info on the CoinSpot API.
Example usage
```javascript
var coinspot = require('coinspot-mini');
var secret = ''; // insert your secret here
var key = ''; // insert your key here
var client = new coinspot(key, secret);
client.balances(function(e, data) {
console.log(data);
});
client.transactions(function(e, data) {
console.log(data);
});
```