library castingwords-api
CastingWords API access from PHP
castingwords/castingwords-api
CastingWords API access from PHP
- Friday, December 13, 2013
- by nmcfarl
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
CastingWords Transcription API
PHP Client
Example:, (*1)
$ php -a
Interactive shell
php > set_include_path('./lib/');
php > require 'CastingWordsAPI.php';
>>> $cw = new CastingWordsAPI("123456789asdfghjkl0987654321");
>>> $cw->test = 1; // set test mode
>>> echo $cw->prepay_balance()."\n";
1001.00
>>> print_r( $cw->order_url("http://example.com/media.mp3", "TRANS14"));
Array
(
[audiofiles] => Array
(
[0] => 165131
)
[order] => 4nX
[message] => Order '4nX' Created
)
Run Example:, (*2)
$ php ex/example.php $MY_API_KEY;
See Also:
* CastingWords Transcription API Description
* CastingWords API Docs, (*3)