Skip to content
This repository

Ruby library for accessing the Voicebunny API

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 ruby-carrot-dev.gemspec
Octocat-spinner-32 ruby-carrot.gemspec

Ruby Carrot - VoiceBunny Library

Ruby Carrot is a Ruby library that provides connection to the HTTP RESTful API, using the library Faraday for the HTTP request/response cycle. If you need more information on how to use our library check the installation guide or the tutorial.


# Imports
require 'ruby-carrot'
require 'yaml'
require 'faraday'
require 'faraday_middleware'

# Initialize the library
vbCarrot =,'xxxxXXXXxxxxXXXX')

# Get information
response = vbCarrot.languages
puts response['languages']

# Post project
project = {
    script: "Test project",
    remarks: "Posted from Ruby-Carrot",
    title: "Test Project"
response = vbCarrot.create_project(project)
puts response['project']

# Get a project
response = vbCarrot.get_project(response['project']['id'])
puts response['projects']

Request a VoiceBunny API Token

To use this library you need to request an API Token in the Developer's Section.


  • migrate the tests to Stubs instead of text files mocked JSON responses
  • update the tests


Feel free to fork our gem or add a pull request

Don't you like Ruby?

If you're not confortable with Ruby language, you can also check our other libraries:

Or why not, build your own library from scratch checking the API documentation.


Copyright (c) 2008 Torrenegra IP, LLC. Distributed under Creative Commons CC-BY license.

Something went wrong with that request. Please try again.