unepwcmc/protected-planet-consumer — pull request #3 by migtorres (2014-10-21 15:30:23+00:00)
Title: Importer and API

# Importer

Imports csv generated from Access database to GefProtectedArea model.
It uses a translation table that adapts the access filed names to proper db columns.
You can run:
```
rake gef:import
```
It uses Gef::Download (S3 Downloader) and Gef::Import (reads csv and translates)

# API
Main API is created. You can use is in two ways:

List All GEF protected Areas:

```
http://localhost:3000/api/gef
```

Query by PMIS ID
```
http://localhost:3000/api/gef?pmis_id=[gef_pmis_id]
```