示例#1
0
<?php

require __DIR__ . '/../vendor/autoload.php';
$tmApi = new \Thismoment\Api('salescontent', '', '');
$results = $tmApi->getContent(array(), 'active', null, 5);
print_r($results);
示例#2
0
<?php

require __DIR__ . '/../vendor/autoload.php';
$tmApi = new \Thismoment\Api('salescontent', '', '');
$results = $tmApi->getPlaylists(array(), 61, null, 5, array('analytics'));
print_r($results);
示例#3
0
<?php

require __DIR__ . '/../vendor/autoload.php';
$tmApi = new \Thismoment\Api('salescontent', '', '');
$results = $tmApi->getPlaylistById(780);
print_r($results);
示例#4
0
<?php

require __DIR__ . '/../vendor/autoload.php';
$tmApi = new \Thismoment\Api('salescontent', '', '');
$results = $tmApi->getContentById(14230);
print_r($results);