Skip to content

CLI application using the Bitcoin.com API for analysis and trading of cryptocurrency

License

Notifications You must be signed in to change notification settings

briannicholls/bitcoin_api

Repository files navigation

Gem Version

Bitcoin

This is a CLI using the bitcoin.com exchange API to view market data and provide limited analysis.

CLI Demo video: https://youtu.be/K46q4ZAS6SI

Walkthrough of source code: https://youtu.be/TuTf84mZAEY

Blog Post: https://briannicholls.home.blog/2020/01/18/cli-project-bitcoin-com-crypto-api/

Installation

Add this line to your application's Gemfile: ruby gem 'bitcoin-api' And then execute: $ bundle install

Or install it yourself as:

$ gem install bitcoin-api

Usage

To start the CLI, navigate to the root directory in your terminal and run bin/bitcoin

You can also run bin/console to play around. For the API documentation, See Here

Add API Key / Secret

While not required to view market data, you can add your personal API key to view and manage your own account on Bitcoin.com

Get your API Key and secret from your account settings at https://exchange.bitcoin.com/settings/api-keys.

Create a file named .env in root directory. The contents should look like this:

API_KEY=123456789
SECRET=123456789

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nichol88/bitcoin_api.

License

The gem is available as open source under the terms of the MIT License.

About

CLI application using the Bitcoin.com API for analysis and trading of cryptocurrency

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published