2010年4月29日星期四

[fw-gdata] Fusion tables api and zend framework

Hi working with zend with little success to access a fusion table. I am not able to get a list of tables i won, attached is the code,any one know what i am doing wrong

$client = Zend_Gdata_ClientLogin::getHttpClient($email, $passwd,'fusiontables');
$gdata = new Zend_Gdata_Gbase($client);
    $url = "http://tables.googlelabs.com/api/query?sql=SHOW TABLES";
    $query = new Zend_Gdata_Query('http://tables.googlelabs.com/api/query?sql=SHOW TABLES');
    $feed = $gdata->getFeed($query);

any pointers are greatly appreciated

--
Regards,

Jude Mwenda
Skype id: jmwenda

没有评论: