YouTube v3 API - Only getting 10 results

I'm trying to implement YouTube's API v3 - but I"m running into issues with the number of results being returned.

For example:{myChannelID}&maxResults=50&type=video&key={myAPIKiey}&part=snippet

In my jSON result set, i see:

"pageInfo": {
        "totalResults": 36,
        "resultsPerPage": 50

but I only get 10 results.

I'd like to display all 36 results on one page.
Any suggestions on what I might be missing?

What's the purpose of having maxResults, if the real maxResults is 10?

Thanks for your help!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
from the API, the total results property is just an estimation.

At the end of that page you might want to try the live explorer and fill it with your search query parameters. Does this return the same?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
slightlyoffAuthor Commented:
Thanks for the reply.  I think you're right - there are only 10 results for the search term.  I don't know why i didn't try other search terms yesterday.  I get more than 10 results when I search for other things.

The downside for this is that you can't use the totalResults to loop through the json.  It seemed very convenient to have that.
Rainer JeschorCommented:
thanks for the points.
You should be able to either use the items.length property to get the number of elements or use the jQuery.each functionality.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.