Find salient Open Access data and derive a classification for a research output with a DOI.
Add this line to your application's Gemfile:
gem 'open_access_reporter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install open_access_reporter
reporter = OpenAccessReporter::Reporter.new 'YOUR_EMAIL'
report = reporter.find '10.1234/foo'
#=> #<OpenAccessReporter::Report:0x00c0ffee>
report.open?
#=> true
report.classification
#=> "gold"
report.license
#=> "cc-by"
The gem is available as open source under the terms of the MIT License.