summaryrefslogtreecommitdiffstats
path: root/backend/apitest.php
blob: 95efc38817c011ea4117d6189156161ef8508adc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
require_once("api.php");
$api = new AnyClip("47ff842f-2eed-4715-9520-741e43342c8b");
for ($current = 0, $titles = $api->titles($current, 20); $current < $titles->TotalItemCount; $current += 20, $titles = $api->titles($current, 20)) {
	foreach ($titles->Items as $title) {
		if (count($api->clipsForTitle($title->Code)->Items) > 0) {
			echo $title->Name;
			echo "\n";
		}
	}
}
?>