[WSG] YouTube API

2008-04-30 Thread James Jeffery
Morning all,

Not really used the API much, but im digging into it. I was thinking, would
it be worth setting up a .php library (and maybe a .js), object-orientated
obviously.

For example, someone wanting to get a list of video's from a users account
can do something like:

$yt-usr-list = new userUploads(VIDEO_ID);
$yt-usr-list-getList(25, DESC);

Which would list a list of 25 videos, with names and links in descending
order.

I'm open to comments on this. I feel it could benefit developers and nobody
has yet done it. The library could also include functions that are not
included in
the YouTube API, which would require alot of hard work!

I have set up the blog, so if anyone wants to post a comment off-list, get
involved or check on planning development: www.ytphplib.blogspot.com .

Throw em' at me.

(something like this may already exists, i couldn't find anything)


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] YouTube API

2008-04-30 Thread James Jeffery
VIDEO_ID should be USER_ID

My bad ... just woke up with my little idea :P

On Wed, Apr 30, 2008 at 12:03 PM, James Jeffery 
[EMAIL PROTECTED] wrote:

 Morning all,

 Not really used the API much, but im digging into it. I was thinking, would
 it be worth setting up a .php library (and maybe a .js), object-orientated
 obviously.

 For example, someone wanting to get a list of video's from a users account
 can do something like:

 $yt-usr-list = new userUploads(VIDEO_ID);
 $yt-usr-list-getList(25, DESC);

 Which would list a list of 25 videos, with names and links in descending
 order.

 I'm open to comments on this. I feel it could benefit developers and nobody
 has yet done it. The library could also include functions that are not
 included in
 the YouTube API, which would require alot of hard work!

 I have set up the blog, so if anyone wants to post a comment off-list, get
 involved or check on planning development: www.ytphplib.blogspot.com .

 Throw em' at me.

 (something like this may already exists, i couldn't find anything)

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***