Download the Kiva toolbar! - (what's this?)

February 11, 2012, 11:42:19 AM *
Welcome, Guest. Please login or register (it's quick and free!) for full access to all community features and functions, including instant messaging and message viewing preferences.

Login with username, password and session length

Cool Forum Options
: Not available. Login or register :)
: Popular Topics on Kiva Friends

Kivapedia
: View recent changes on Kivapedia
: Online shopping that helps support Kiva
: List of Kiva microfinance institutions
: List of Kiva group lenders
: Kiva Timeline : More...


.
Welcome to Kiva Friends, an active community for Kiva users, staff and supporters. Don't know what Kiva is? Read this!
   
   Home   Search Calendar Help Tags Login Register  

Pages: 1 ... 7 8 [9] 10   Go Down
  Bookmark This  |  E-Mail This  |  Print It  
Author Topic: The Kiva Developer Program  (Read 9409 times)
0 Members and 1 Guest were last seen viewing this topic.
Robert
Kiva Supporter
Budapest
*****
Gender: Male
Posts: 621



View Profile
« Reply To This #80 on: February 05, 2009, 08:31:22 PM »

Back in the good ol' days we could display one by one inactive loans by just typing prospective business numbers in the URL line. It was more user friendly than reading them in XML files. Can someone please develop an API application that displays future loans in a similar way we are used to see them on the Kiva site? Something like a website called www.futurekiva.org?
Logged
YowieFreak
Kiva Supporter
*****
Posts: 1509



View Profile
« Reply To This #81 on: February 05, 2009, 08:40:12 PM »

Thank you, Ian!

Your suggested method of tracing them might not work because sometimes loans don't just get posted in the order of business IDs - for example, loans of Field Partners that are over their quota might get held back or translations delay the process (like with Parvina Kurbanova, I guess).

Still: fascinating to look behind the scenes, like that.

Best wishes,
Wolfgang.

Yes, the methodology I proposed only works as a one-off to get some idea of where the "inactive" ones end.  (#87698 is the last one I just found, about 80 higher than the last one posted at the moment.)

To make a proper app out of it, the app would have to keep a list of all inactive loans it knows about and remove loans from the list as they become active.  (So its list will end up with "holes" in it.)  It would also do the scanning for new inactive loans, starting from the highest number in the list to (say) 10 beyond the highest number, and adding them to the list as it finds them.

If I was setting it up, I would start it off with an arbitrary number (say 1000 below the most recent loan posted) and put up with the fact that there might still be some inactive loans more than 1000 ids "old" which it won't then detect.

Cheesy  This reminds me of an app I wrote about 10 years ago which downloaded all new messages posted on a message board for a website that I was webmaster of.  Each message was originally assigned a sequential "message number", so each morning I just started the app looking for the last message it had found the previous day, and it kept downloading messages to my archive until it found 100 missing messages in a row.  (Had to allow for gaps in case any of the other "moderators" had deleted anything while I was asleep.)

Ah, the good old days. Smiley
Logged
YowieFreak
Kiva Supporter
*****
Posts: 1509



View Profile
« Reply To This #82 on: February 05, 2009, 08:51:28 PM »

Can someone please develop an API application that displays future loans in a similar way we are used to see them on the Kiva site? Something like a website called www.futurekiva.org?

Some details are available in HTML directly from the API, as follows:
http://api.kivaws.org/v1/loans/87697.html
but certainly not as much info as on the normal web page Cheesy

With a couple of hours work, I could probably write a small Visual Basic program that would do it and look fairly similar to the Kiva webpage.

(No, no, stop it Ian, stop thinking of these things when you are meant to be doing other things - like changing the summary spreadsheet to use the API, and doing accounting for Church, and doing the jobs that your wife keeps nagging you to do.  Hmmm - I need an icon of a devil so that I can put that and the angel one here to show my conscience fighting with itself. Cheesy)

Ah, the trials and tribulations of being unemployed - never enough time to do everything you want to do! Cheesy Laugh

Ian
Logged
RichardF
Kiva Supporter
*****
Posts: 3938



View Profile
« Reply To This #83 on: February 05, 2009, 09:48:14 PM »

One good (? ? ? ?) thing about the developer program - you  can see the loans even before they are posted (i.e. while they still have a status of "inactive").

Methinks that might not be meant to be happening!! Cheesy Cheesy

Sheesh, you guys!   No

Why would anyone want to take a sneak peak at what's in the queue? Koo Koo

That would just ruin the surprise for everyone!!!  Cry Tada Angel Sarcastic
Logged

Soul lives by giving.
RichardF
Kiva Supporter
*****
Posts: 3938



View Profile
« Reply To This #84 on: February 13, 2009, 09:43:24 PM »

I'm just wondering out loud here.  Does the API have enough info available to anticipate/list Field Partners with enough cash collected to: a) fully settle on the fifteenth; b) partially settle loans funded through day X; or c) no funds raised for current settlement month?
Logged

Soul lives by giving.
Soriak
Kiva Supporter
New York
*****
Gender: Male
Posts: 281


View Profile
« Reply To This #85 on: February 13, 2009, 11:55:37 PM »

Is there a working Facebook application for Kiva? The one available now always tells me there is no content to display. Sad
Logged

Do you BOINC?
Jan & John
Kiva Supporter
Calgary, Canada
*****
Gender: Female
Posts: 2242



View Profile
WWW
« Reply To This #86 on: February 14, 2009, 12:22:46 AM »

Is there a working Facebook application for Kiva? The one available now always tells me there is no content to display. Sad
Hi Soriak
I used to refresh my profile regularly with the Kiva app on facebook and then one day it quit working...
I tried a few ways to see why...
Kiva couldn't help and I think the developers just faded into the night...
One name - Gilbert Gong - actually replied to my message and that was to say...
Quote
I actually haven't done any development work on the app, I just helped my friend host it on my server. I'll let him know..
Gilbert
That was Sept 2008
nothing since.
jan
Logged

"The place God calls you to is the place where your deepest gladness and the world's deepest hunger meet" - Fredrick Buechner (in Wishful Thinking).
"Every child should be well born, well fed, well taught, well housed and well treated."
Maude Riley, Alberta Council on Child and Family Welfare 1923
"Each of us feels that we are just a drop in the ocean, but the ocean would be less without that missing drop." --Mother Teresa

1 click per person per day on this link means 1 additional cent for the Fistula Foundation - thanks!
YowieFreak
Kiva Supporter
*****
Posts: 1509



View Profile
« Reply To This #87 on: February 14, 2009, 02:34:51 AM »

SearchLoans.exe - my first Kiva app

The attached ZIP file contains a program which will search for all fundraising loans fitting certain limited criteria.

At the moment you can specify a maximum end date for repayments (e.g. specifying a date of "31/12/2009" [or "12/31/2009" if you use a weird date format] will look for all loans which have their final repayment due back to Kiva before the end of 2009), and you can also specify some keywords which will be looked for in the loan description.

After specifying the relevant criteria, press the "Go" button and the application will look up all fundraising loans and then search through them for ones that match your requirements.

E.g. In the following example

the program was told to look for all loans (irrespective of the end date, as the end date is not specified) which contained both the character strings "mother" and "widow" within the description.  It found two loans matching that criteria.

I doubt if the program will work on Mac "computers", but it may even have problems on some real computers too.  If so, bad luck.

Ian

* SearchLoans.zip (14.54 KB - downloaded 44 times.)
Logged
redstarr
Kiva Supporter
Fort Smith
*****
Gender: Female
Posts: 211



View Profile
« Reply To This #88 on: February 16, 2009, 01:18:48 PM »

Super Cool app!  Can't wait till I get home to try it out!   Thank You
Logged
RichardF
Kiva Supporter
*****
Posts: 3938



View Profile
« Reply To This #89 on: February 16, 2009, 08:10:29 PM »

Cool! Yes Thumbs Up

So...does that mean in future versions we'll actually be able to search for listings by Activity? Cheesy

You even could add a handy sector-context-sensitive drop-down list of at least some known activities.   Laugh
Logged

Soul lives by giving.
Pages: 1 ... 7 8 [9] 10   Go Up
  Bookmark This  |  E-Mail This  |  Print It  
 
Jump to:  

 
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Thanks to PixelSlot
Valid XHTML 1.0! Valid CSS!
Page created in 0.118 seconds with 24 queries.