Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Authorea/terrier
Pull meta information from scholarly articles
https://github.com/Authorea/terrier
Last synced: 3 months ago
JSON representation
Pull meta information from scholarly articles
- Host: GitHub
- URL: https://github.com/Authorea/terrier
- Owner: Authorea
- License: mit
- Created: 2016-02-13T00:18:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T20:28:07.000Z (over 5 years ago)
- Last Synced: 2024-07-27T00:08:47.164Z (4 months ago)
- Language: Ruby
- Size: 14.6 KB
- Stars: 24
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Terrier
[![Gem Version](https://badge.fury.io/rb/terrier.svg)](http://badge.fury.io/rb/terrier) [![Build Status](https://travis-ci.org/thewinnower/Terrier.svg?branch=master)](https://travis-ci.org/thewinnower/Terrier)
Terrier is used to retrieve metadata of scholarly works from a variety of sources.
Terrier can be used to pull metadata on any article that has been issued a digital object identifier (DOI) or that is hosted on the Zenodo Repository, maintained by CERN.
With Terrier you can enter any scholarly article URL or DOI to retrieve scholarly information about that article. Terrier will pull full PDFs of scholarly content if it is hosted on the Zenodo repository. The production of Terrier was funded by [OpenAire](https://www.openaire.eu/openaire-open-peer-review-tenders) and developed by [The Winnower](https://thewinnower.com)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'terrier'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install terrier
## Usage
To use Terrier simply call Terrier.new with DOI or zenodo url
#examples
```ruby
Terrier.new('https://zenodo.org/record/32475')
Terrier.new('doi:10.1186/1479-5868-10-79')
```Terrier returns a hash of information about the document. The keys for which are.
* url
* journal
* title
* authors
* publication_date
* publication_year #Note only returned if document has a DOI
* doi
* issn
* zenodo_pdf: #Note if published on Zenodo and has pdf else this will be nil.
* bibliography## Contributing
1. Fork it ( https://github.com/thewinnower/terrier/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request