longtail video php API integration issue
<p>Looking to integrate the longtail php(<em>bits on the run</em>) video API into an application ,i want to be able to retrieve all the keys from the content server and associate them with a column in my mysql database <code>song_id</code>, and use an <code>&lt;a&gt;</code> with a query string to be able to retrieve the correct video when <code>onClick</code> is called. Pretty much confuse how to do the integration. After calling the API , an array was return. How to query the API to be able to access all the key?</p>

<p>See <a href="http://developer.longtailvideo.com/botr/" rel="nofollow"><strong>API</strong></a></p>

<pre><code>$response = $botr_api-&gt;call("/videos/list",array('video_key'=&gt;$video_key));
if ($response['status'] == "error") { die($response); }

Array
(
    [status] =&gt; ok
    [video] =&gt; Array
        (
            [status] =&gt; ready
            [sourceurl] =&gt; 
            [description] =&gt; 
            [tags] =&gt; Kompa
            [views] =&gt; 1
            [title] =&gt; Pou'n Ale
            [sourceformat] =&gt; 
            [mediatype] =&gt; video
            [custom] =&gt; Array
                (
                )

            [duration] =&gt; 263.37
            [upload_session_id] =&gt; 
            [link] =&gt; 
            [author] =&gt; 
            [key] =&gt; ZLMzClv9
            [error] =&gt; 
            [date] =&gt; 1356543180
            [md5] =&gt; c12663ebc91858f8223d7d2673048bdb
            [sourcetype] =&gt; file
            [size] =&gt; 388334729
        )

)
</code></pre>
