Inconsistant XML data being returned

0 views
Skip to first unread message

Paul

unread,
Aug 20, 2010, 12:37:29 PM8/20/10
to build-kiva
I'm trying to write an app that gets lender's total loan counts, but
when I'm looping through the XML returned, the columns are
inconsistant. Any thoughts, here are three examples where the data
format is different:

http://api.kivaws.org/v1/lenders/john4819.xml
http://api.kivaws.org/v1/lenders/jacob9395.xm
http://api.kivaws.org/v1/lenders/johnnyhep.xml

Paul

unread,
Aug 22, 2010, 5:42:09 PM8/22/10
to build-kiva
Kiva's API doesn't output fields that have no value. So, while john
has an image and loans, johnny has neither so the image and loan count
tags are not present.
Reply all
Reply to author
Forward
0 new messages