Beetrack API

The following gem is a Ruby wrapper for the Beetrack API.

Installation

$ gem install beetrackapi

Usage

Import

require 'beetrackapi'

Initialize

client = BeetrackAPI::Client.new(:key => <your_api_key>)

Get Routes

client.get_routes(:date => 'dd-mm-yyyy'(Optional))

Create Routes

client.create_route(<route_id>, parameters)

Get Dispatch Information

client.get_dispatch_info(<dispatch_id>)

Update Route Information

client.update_route(route_id, parameters)

Documentation

Please check the API's documentation in https://beetrack.com/apidoc