- Official implementation
- REST API
- WebSockets API
- REST API version 2
- WebSockets API version 2
Add this line to your application's Gemfile:
gem 'gemini-rb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gemini-rb
Configure your gem as:
require 'gemini'
Gemini::Client.configure do |conf|
# add `secret` and `api_key` if you need to access authenticated endpoints.
conf.secret = ENV["GEMINI_API_SECRET"]
conf.api_key = ENV["GEMINI_API_KEY"]
end
Then you can use the client as follow:
client = Gemini::Client.new
client.balances
check the Gemini API documentation for more information.
- Fork it ( https://github.com/[my-github-username]/gemini/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request