Re: Borrower Information

48 views
Skip to first unread message

Noah Balmer

unread,
Aug 2, 2012, 4:57:00 AM8/2/12
to build...@googlegroups.com
It sounds like you want to use this method:
http://api.kivaws.org/v1/loans/<loan_id>.xml

On Thu, Aug 2, 2012 at 1:42 AM, Fernando Fernandes <17.fer...@gmail.com> wrote:

Hello everyone,

Does anyone know how to get more information ab the borrower? I actually need the history of the borrower?

In the link: http://www.kiva.org/lend/436313

I would like to get the following information:

"Sa Aem is 61 years old from Kampong Cham province, Cambodia. She is widowed and blessed with three children. She is a homemaker. Her children are employed. They are construction workers and a cosmetics seller. They earn about $18 per day. In order to improve her family’s finances, Sa Aem is requesting a loan of $1000 to purchase more cosmetics for her child to resell. By doing so, she will earn more profit to support her family. In the future, she would like to expand her business and build a new house as soon as possible."

I am currently using this url: http://api.kivaws.org/v1/lenders/<lender_id>/loans.xml

to get the information about the loans and borrowers. Is that correct?

I also need the Borrower gender.

Thanks in advance,

Fernando

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To view this discussion on the web visit https://groups.google.com/d/msg/build-kiva/-/kJvrBK5Al2QJ.
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.

Kevin O'Brien

unread,
Aug 2, 2012, 9:13:18 PM8/2/12
to build...@googlegroups.com
Not sure if there is a direct way, but there is an indirect way, look at the number of "borrower" tags in the "borrowers" tag.


You'll see there are 3 borrowers, thus it's a group loan, any loan with > 1 borrower should be a group loan.

<borrowers type="list">
<borrower>
<first_name>Luisa María</first_name>
<last_name/>
<gender>M</gender>
<pictured>1</pictured>
</borrower>
<borrower>
<first_name>Juana</first_name>
<last_name/>
<gender>F</gender>
<pictured>1</pictured>
</borrower>
<borrower>
<first_name>Jose Alejandro</first_name>
<last_name/>
<gender>M</gender>
<pictured>1</pictured>
</borrower>
</borrowers>

Cheers,

-k

On Thu, Aug 2, 2012 at 4:47 PM, Fernando Fernandes <17.fer...@gmail.com> wrote:
Thanks Noah! That's exactly what I was looking for.
Also, about the borrower is it possible to know if it's a group or a single person?

Cheers,

Fernando

To unsubscribe from this group, send email to build-kiva+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/build-kiva?hl=en.

--
You received this message because you are subscribed to the Google Groups "build-kiva" group.
To view this discussion on the web visit https://groups.google.com/d/msg/build-kiva/-/OJxFQL9LST0J.

Fernando Fernandes

unread,
Aug 2, 2012, 9:53:15 PM8/2/12
to build...@googlegroups.com
That works for me!
Cheers  Mr. Chilly !
Reply all
Reply to author
Forward
0 new messages