okfn / ibp-explorer

[ARCHIVED] Data Explorer for the Open Budget Survey, built in collaboration with the International Budget Partnership.
http://survey.internationalbudget.org
7 stars 5 forks source link

Use Indaba as data provider (API) #61

Closed pwalsh closed 8 years ago

pwalsh commented 8 years ago

Description

We are completely replacing the use of a custom API we previously built for this project - Aquarium - with a solution provided by a 3rd party - Indaba. In order to get started, we'll create a module designed to wrap the Indaba API and expose the endpoints it provides to the rest of the application.

This issue does not deal with the refactoring of the code itself to actually use the Indaba API: that comes in #62

Usage notes for the API

pwalsh commented 8 years ago

@dumyan note here that because the tests only need to run in Node, you can export the environment variables in your shell to run locally, and, you can write the environment variables in an encrypted fashion to the travis file for the CI, example.

pwalsh commented 8 years ago

Here are the docs for the filter method on collection endpoints: https://docs.strongloop.com/display/public/LB/Where+filter#Wherefilter-RESTAPI