I have this code on C#/.NET :
string user = "Username";
string feedUrl = "http://gdata.youtube.com/feeds/api/users/" + user + "/uploads";
Feed<Video> videoFeed = request.Get<Video>(new Uri(feedUrl));
foreach (Video entry in videoFeed.Entries)
{
// print video
}
but I can retrieve only 25 video!
I know the max number of video in a feed is 999 :
The API returns a videos feed in response to a request to search for videos. A videos feed contains a maximum of 999 entries. To retrieve search results, send an API request to the following URL:
http://gdata.youtube.com/feeds/projection/videos?v=2
So why 25?
Tried with uploads/?start-index=0&max-results=999 but nothing…
The 999 figure refers to the maximum number of videos that can exist in a playlist or feed:
By default it returns 25 results, though you can override this:
http://code.google.com/intl/it-IT/apis/youtube/2.0/reference.html#max-resultssp
The maximum value of
max-resultsis 50, so you’ll need to issue multiple requests usingstart-indexto fetch each block of results.