On 8/17/07, Greg Freeman <[EMAIL PROTECTED]> wrote:
>
> I'm a little confused with zend rest. Could someone provide me with an
> example to connect to youtube's api?
>
> http://youtube.com/dev_rest
>
> Help appreciated thanks.

IMO what Youtube does is not REST, they just call it REST. It's all
GET and pretty ugly too.

Since you can send a request to the example url, why not try with
Zend_Http_Client?
http://www.youtube.com/api2_rest?method=youtube.users.get_profile&dev_id=YOUR_DEV_ID&user=YOUTUBE_USER_NAME

You can request that URL and in the body, you get the XML returned.
Then parse and off you are.

Cheers,
Till

Reply via email to