Skip to content
This repository

PHP library for accessing the Voicebunny API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 example.php
Octocat-spinner-32 example2.php
Octocat-spinner-32 example3.php
README.md

PHP Carrot - VoiceBunny Library

PHP Carrot is a PHP class that provides connection to the VoiceBunny.com HTTP RESTful API. If you need more information on how to use our module check the installation guide or the tutorial.

Basic usage

# Import
require_once('lib/VoiceBunnyCarrot.php');

# Initialize the module
$vb_carrot = new VoiceBunnyCarrot('0','XXX');


# Get information
$response = $vb_carrot->gender_ages();
echo response['genderandages'];

# Post project
$project= array(
    'script' => "Test project",
    'remarks' => "Posted from Ruby-Carrot",
    'title' => "Test Project" 
);
$response = $vb_carrot->create_project(project);
echo response['project'];

# Get a project
$response = $vb_carrot->get_project($response['project']['id']);
echo response['projects'];

Request a VoiceBunny API Token

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

Don't you like PHP?

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

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

Copyright

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

Something went wrong with that request. Please try again.