I actually already wrote a caching system that only requires the many
requests the first time, then the usernames are associated with the
gravatar ids locally until cleared.
But still, this tweak to the API would reduce the complexity
needed. :)

On Jan 24, 4:44 pm, Dav Glass <[email protected]> wrote:
> Again, YQL to rescue:
> select * from github.user.info where id in (select users from json where url
> = 'http://github.com/api/v2/json/user/show/davglass/following')
>
> Permalink:http://developer.yahoo.com/yql/console/?q=select%20*%20from%20github....
>
> YQL will give you a "cache" and the ability to let Yahoo's servers do all
> the processing. So you can bang on them pretty goos without banging on
> GitHub's API.
>
> It's fast & free, so give it a shot.
>
> I burn tons of API calls on yuilibrary.com and they all go through YQL for
> the speed/cache and multi-requests ;)
>
> --
> Dav Glass
> [email protected]
> blog.davglass.com
>
> + Windows: n. - The most successful computer virus, ever. +
> + A computer without a Microsoft operating system is like a dog
>    without bricks tied to its head +
> + A Microsoft Certified Systems Engineer is to computing what a
>   McDonalds Certified Food Specialist is to fine cuisine  +
>
> On Sun, Jan 24, 2010 at 12:19 PM, Eddie Ringle <[email protected]>wrote:
>
>
>
> > Currently, all that is included in the followers/following responses
> > is an array of usernames. Is it possible to also add a bit more
> > information to them like email and gravatar_id? Right now my app is
> > expensive on API calls because it first fetches the array of names,
> > and then an individual request for each user in order to get their
> > gravatar id (I have a list of users with their gravatar next to them,
> > if you haven't guessed).
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "GitHub" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<github%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/github?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.

Reply via email to