How to get the youtube last updated date using gdata java youtube api -


i'm using gdata java client load youtube video metadata. 1 of key information i'm looking published date , last updated date. though i'm able published date, api doesn't seem provide handle last updated date.

i'm using standard gdata api retrieve information following link:

 http://gdata.youtube.com/feeds/api/videos/_kqmmr_yhis 

as can see, has both, published , updated date information.

here's standard code i'm using :

 youtubemediagroup mediagroup = videoentry.getmediagroup(); mediaplayer mediaplayer = mediagroup.getplayer(); system.out.println("upload time :"+mediagroup.getuploaded()); 

the upload time returns published date. there way updated date well?

any pointers appreciated.

thanks,

my bad, should have studied apis more.

the updated date can found videoentry class.

 videoentry.getupdated(); 

apologies raising question in haste.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -