Batchly-Api
This API SDK allows you to write your own applications to manage Batchly. All functions that can be performed via Console are available in this SDK.
How To Configure:
The Auth Keys can be generated from the Batchly Console. Before executing any methods, call the Configuration utility to setup your custom endpoint, Access Key and Secret Key
How To Build:
The generated code uses a Ruby gem namely 'unirest'. The reference to this gem is already added in the gemspec. Therefore, you will need internet access to resolve this dependency.
How To Use:
Install the SDK from Ruby Gem and then configure as below
1. In your Gemfile add this line
```
gem 'batchly_api', '~> 0.7.1'
```
2. In your Gemfile add this line
```
require 'batchly_api'
BatchlyApi::Configuration.BASE_URI = 'Your Custom Endpoint'
BatchlyApi::Configuration.API_KEY = 'Your Access Key'
BatchlyApi::Configuration.API_SECRET = 'Your Secret Key'
```
3. Now create an instance and use the instance methods, like following.
```
ctl = BatchlyApi::AccountsController.new params
ctl.get_list_projects params
```