Skip to content

Instantly share code, notes, and snippets.

@caseysoftware
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save caseysoftware/2096eeaf561799cf6c92 to your computer and use it in GitHub Desktop.

Select an option

Save caseysoftware/2096eeaf561799cf6c92 to your computer and use it in GitHub Desktop.
Script to list all the file currently loaded, the full project is available here: https://github.com/caseysoftware/op3nvoice-austin-city-govt
<?php
require 'creds.php';
require 'vendor/autoload.php';
$video = new OP3Nvoice\Bundle($apikey);
$items = $video->index();
foreach($items as $item) {
$bundle = $video->load($item['href']);
echo $bundle['_links']['self']['href'] . "\n";
echo $bundle['name'] . "\n";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment