FoundationCenter
A Ruby interface to the Foundation Center grant recipients API
Installation
Add this line to your application's Gemfile:
gem 'foundation_center'
And then execute:
$ bundle
Or install it yourself as:
$ gem install foundation_center
Usage
Fetch a list of grant recipients:
>> FoundationCenter.recipients
=> [
{"recipient_ein"=>27121965, "recipient_name"=>"Emard-Parker",
"longitude"=>-86.08014482580468, "latitude"=>42.20946211250427},
{"recipient_ein"=>102016794, "recipient_name"=>"Cummerata, Heaney and Ullrich",
"longitude"=>-81.5489744409065, "latitude"=>32.790804352283004},
...
]
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request