Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Groovy library for accessing the Voicebunny API
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Groovy Carrot - VoiceBunny Library

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


@GrabResolver(name='voicebunny', root='')
@Grab(group='com.voicebunny', module='groovy-carrot', version='1.1.0')

import com.voicebunny.api.*

// Initialize the library
def vb = new VoiceBunny('yourUserId', 'yourToken', '')

// Get information
def response = vb.languages
println response.languages

// Post project
def projectData = [
    script: "Test project",
    remarks: "Posted from Groovy-Carrot",
    title: "Test Project"
response = vb.postProject projectData
println response.project

// Get a project
response = vb.getProject(
println response.projects

Request a VoiceBunny API Token

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


Feel free to fork our gem or add a pull request

Don't you like Groovy?

If you're not confortable with the Groovy 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.