Open jeffski opened 7 years ago
Is this for front end web site use? I can't see how to get started.
I can do the following with Node, installed via npm, which returns the rates:
var bitpay = require('bitpay-public-client'); var api = new bitpay(); api.getRates({}, function(err, res) { console.log(res); });
I figured I'd be able to install via Bower, include the minimized script in my html page and call the API. I can't see how I can do that.
I have created a pull request which fixes this issue and makes the API available in the browser: https://github.com/bitpay/bitpay-public-client/pulls
Is this for front end web site use? I can't see how to get started.
I can do the following with Node, installed via npm, which returns the rates:
I figured I'd be able to install via Bower, include the minimized script in my html page and call the API. I can't see how I can do that.