API issues

90 views
Skip to first unread message

Vijay

unread,
Jul 10, 2020, 8:13:26 AM7/10/20
to build...@googlegroups.com
Hello,

Looks like the API is returning a lot less fundraising loans than are available.

Has something changed?

Vijay.

YowieFreak

unread,
Jul 10, 2020, 3:37:40 PM7/10/20
to build-kiva
It seems to have changed a couple of days ago to only return a maximum of 100 loans, even if "limit" is set to a higher value.  (Also affects other things - I noticed it only returning the first 100 team members when I tried to get a list of my team members.)

Vijay

unread,
Jul 10, 2020, 4:32:56 PM7/10/20
to build...@googlegroups.com
Thank you, thats what I noticed too and made the necessary changes.
Not sure if there was an announcement, maybe I missed it.

Thank you.

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To unsubscribe from this group and stop receiving emails from it, send an email to build-kiva+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/build-kiva/740d1f67-83c5-4f1b-a5a0-c68aed18b226o%40googlegroups.com.

mfab

unread,
Jul 13, 2020, 6:47:54 PM7/13/20
to build-kiva
Hello YowieFreak & Vijay

Thanks for the question around the Kiva public API.  Kiva recently needed to implement limit restrictions on the public API. The site performance team reported that without the limit restrictions, Kiva servers were seeing resource starvation caused by unbounded requests, and in order to make sure that www.kiva.org is able to stay up, the team had to implement limit restrictions.  At the moment, Kiva needs to be able to protect the public API from serving burdensome, bordering on malicious, requests.

Hope this information helps!

On Friday, July 10, 2020 at 1:32:56 PM UTC-7, Vijay wrote:
Thank you, thats what I noticed too and made the necessary changes.
Not sure if there was an announcement, maybe I missed it.

Thank you.

On Fri, Jul 10, 2020 at 3:37 PM YowieFreak <goo...@yowiefreak.com> wrote:
It seems to have changed a couple of days ago to only return a maximum of 100 loans, even if "limit" is set to a higher value.  (Also affects other things - I noticed it only returning the first 100 team members when I tried to get a list of my team members.)

On Friday, July 10, 2020 at 10:13:26 PM UTC+10, Vijay wrote:
Hello,

Looks like the API is returning a lot less fundraising loans than are available.

Has something changed?

Vijay.

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To unsubscribe from this group and stop receiving emails from it, send an email to build...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages