Monday, March 19, 2012

[YouTube-API] Re: GDATA Service vs Client class

Hello,

I'm not sure what you mean—is this the Python client library you're
talking about? The details of what would need to be done to get it
compatible with v=2 of the API goes beyond what we could cover in this
group. If it were straightforward, the library maintainer would have
done it already.

Alternative options for accessing v=2 using the Python client library
involve making HTTP requests using urllib2 with alt=json set and
parsing the JSON responses.

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


On Mar 15, 1:16 pm, TK <till.keyl...@googlemail.com> wrote:
> Hey, im trying to implement my own version 2.0-capable  classes, but i dont
> really got the difference between the gdata.service and gdata.client
> modules. Using the first one, i could create a query object and pass it to
> the Get-method pretty easily, but when i try to subclass the
> GDCLient-Class, i don´t know how to specify a developer-key or set a proper
> host (which is done by the service-class or get-method automatically,
> somehow). So, whats the difference and what should i use for version-2.0
> queries to youtube?
>
> cheers
> Till

--
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