希望将longtail php(运行中的位)视频API集成到应用程序中,我希望能够从内容服务器检索所有密钥并将它们与我的mysql数据库song_id中的列相关联,并使用锚标记单击时能够检索正确视频的查询字符串。非常混淆如何进行集成。调用 API 后,返回一个数组。.如何查询 API 以访问所有密钥?
$response = $botr_api->call("/videos/list",array('video_key'=>$video_key));
if ($response['status'] == "error") { die($response); }
Array
(
[status] => ok
[video] => Array
(
[status] => ready
[sourceurl] =>
[description] =>
[tags] => Kompa
[views] => 1
[title] => Pou'n Ale
[sourceformat] =>
[mediatype] => video
[custom] => Array
(
)
[duration] => 263.37
[upload_session_id] =>
[link] =>
[author] =>
[key] => ZLMzClv9
[error] =>
[date] => 1356543180
[md5] => c12663ebc91858f8223d7d2673048bdb
[sourcetype] => file
[size] => 388334729
)
)