Sample Code
No sample code for Python.
/**
* Setup configuration
*/
$cfg['params']['apiToken'] = (string) '111222333444555666777888999';
$cfg['params']['secretKey'] = (string) 'aaabbbcccdddeeefffggghhhiiijjjkkk';
$cfg['params']['apiVersion'] = (string) '9';
$cfg['params']['buyerId'] = '666';
$cfg['params']['baseUri'] = (string) 'https://api.ticketevolution.com';
$config = new Zend_Config($cfg);
/**
* Finished setting up configuration.
* Initialize a TicketEvolution_Webservice object.
*/
$tevo = new TicketEvolution_Webservice($config->params);
/**
* Below here is where all the method-specific stuff is.
*/
$options = array(
'page' => 1,
'per_page' => 2,
);
$results = $tevo->listEvoPayTransactions(62, $options);
Sample Response
{
"transactions":[
{
"amount":"100.0",
"type":"transfer",
"url":"/transactions/1495",
"updated_at":"2011-02-17T18:25:34Z",
"account":{
"url":"/accounts/62",
"id":"62"
},
"balance":"100.0",
"id":"1495"
},
{
"amount":"-100.0",
"type":"transfer",
"url":"/transactions/1498",
"updated_at":"2011-02-18T15:18:42Z",
"account":{
"url":"/accounts/62",
"id":"62"
},
"balance":"0.0",
"id":"1498"
}
],
"current_page":1,
"per_page":2,
"total_entries":1097
}
Parameters