Wednesday, April 18, 2012

[YouTube-API] Re: partial response

Hello Jose,

Yes, you could use partial responses to retrieve only the author (or
some other subset of the response) in individual requests for video
ids. Here's an example:

http://gdata.youtube.com/feeds/api/videos/Zhawgd0REhA?v=2&prettyprint=true&fields=author/name

Those requests are treated the same from the perspective of quota,
though. The quota system doesn't operate on the basis of the raw
number of bytes in a response.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Apr 16, 6:43 pm, José María Miotto <josemio...@gmail.com> wrote:
> HI Jeffrey.
>
> My questions are two, actually:
>
> 1. Can I have a partial response of a single video? Let's say I have a list
> of ids and I want to retrieve only the author or the media group of these
> videos, I could ask for each id the information, without downloading the
> whole entry?
>
> 2. Is the partial response affecting the quota? I imagine not, if the cuota
> measures the amount of entries, but if it measure the amount of real
> information, it should.
>
> thanks,
> José

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment