diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-06-16 15:52:58 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2009-06-16 15:52:58 +0000 |
commit | ade93106b4b2fbe8295f63e20c22e3d0426197cb (patch) | |
tree | 2a08a7a1bd24eb30bfb333ab27477339cb0be865 /backend/apitest.php | |
parent | git-svn-id: https://anyclip.svn.beanstalkapp.com/anyclip/branches/iterations/BoxeeApp/0.1@228 4cc9b9cd-7cf8-4f8c-937d-e7c95023a307 (diff) | |
download | AnyClip4Boxee-ade93106b4b2fbe8295f63e20c22e3d0426197cb.tar.xz AnyClip4Boxee-ade93106b4b2fbe8295f63e20c22e3d0426197cb.zip |
Moved into 0.1 branch.
git-svn-id: https://anyclip.svn.beanstalkapp.com/anyclip/branches/iterations/BoxeeApp/0.1@296 4cc9b9cd-7cf8-4f8c-937d-e7c95023a307
Diffstat (limited to 'backend/apitest.php')
-rw-r--r-- | backend/apitest.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backend/apitest.php b/backend/apitest.php new file mode 100644 index 0000000..95efc38 --- /dev/null +++ b/backend/apitest.php @@ -0,0 +1,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"; + } + } +} +?>
\ No newline at end of file |