Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a mechanism for adding loans from after this snapshot #3

Open
mscoutermarsh opened this issue May 6, 2012 · 2 comments
Open

Comments

@mscoutermarsh
Copy link
Contributor

Current State:

  • Loans are currently read from a snapshot pulled from the API.
  • Javascript parses this snapshot to produce the search results.
  • Snapshot currently has ~2,000 loans.

Future:

  • Kiva has ~500k loans.
  • Need a method to query the API with searches.
@mscoutermarsh
Copy link
Contributor Author

@coderintherye - I'm working on pulling data directly from the API.

/loans/search returns 20 results per page. Is there a way to retrieve more than 20 results?

@mscoutermarsh
Copy link
Contributor Author

Starting this... Using JSONP.
https://github.com/mscoutermarsh/Kivabeta/tree/PullFromAPI

Kiva API supports JSONP... example URL:
http://api.kivaws.org/v1/loans/100000.json?jsonp=your_callback

If anyone has opinions on better methods... please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant