question on sort of team lenders

9 views
Skip to first unread message

Vijay

unread,
Dec 30, 2011, 12:23:20 PM12/30/11
to build...@googlegroups.com
Hi,

http://api.kivaws.org/v1/teams/288/lenders.html?sort_by=newest

looks like sort_by=newest sorts by lender's Kiva joining date and not team joining date.
Is there any way to sort by team joining date?

Thanks,
Vijay.

Noah Balmer

unread,
Dec 30, 2011, 4:05:29 PM12/30/11
to build...@googlegroups.com
No, currently there's no way to do that except to retrieve the whole list and do your own sort.  The idea is that parameters on various lists of lenders should  be consistent, i.e., "newest" should mean the same thing whether you're getting a list of lenders who are members of a given team or a list of members who are, let's say, lenders to a given loan.   I filed a team join time sort parameter as a feature request, but it probably won't be prioritized any time soon.  Will the workaround be usable for you for the time being?

-Noah


Vijay.

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

Vijay

unread,
Dec 30, 2011, 5:09:45 PM12/30/11
to build...@googlegroups.com
yes, I've been refreshing my tables fully everytime.  new york team is small (around 2000 members) so I
guess it is okay to make 40 API calls (the method returns 50 per page).

thank you.
Reply all
Reply to author
Forward
0 new messages