Sha256: 57a6549fb672cc7d578cebd958d4862a95e118fd596dd84a0a041ad22d662ae4

Contents?: true

Size: 1.93 KB

Versions: 6

Compression:

Stored size: 1.93 KB

Contents

A Ruby wrapper for the [arXiv API](http://arxiv.org/help/api/index). ArXiv is an open access pre-print server used primarily in physics, mathematics, computer science, quantitative biology, quantitative finance and statistics.

_This is not a complete wrapper around the arXiv API. We'll be making improvements as needed for our overlay journals. If you'd like something added, please create an issue or pull request._

### Fetching a manuscript
Grab a manuscript using the arXiv document id:

    manuscript = Arxiv.get('1202.0819')

And inspect it:

    manuscript.revision?  # => false
    manuscript.title      # => "Laser frequency comb techniques for precise astronomical spectroscopy"
    manuscript.abstract   # => "Precise astronomical spectroscopic analyses routinely assume..."
    manuscript.arxiv_id   # => "1202.0819"
    manuscript.version    # => 1
    manuscript.pdf_url    # => "http://arxiv.org/pdf/1202.0819v1"

### Authors
Look up a manuscript's authors:

    authors = manuscript.authors  # => an array of all the manuscript's authors
    authors.map(&:name)   # => ["Michael T. Murphy", "Clayton R. Locke", "Philip S. Light", "Andre N. Luiten", "Jon S. Lawrence"]

    # a single author
    authors.last.name           # => "Jon S. Lawrence"
    authors.last.affiliations   # => ["Australian Astronomical Observatory", "Macquarie University"]

### Categories
Look at a manuscript's categories:

    manuscript.categories                       # => an array of categories
    manuscript.categories.map(&:abbreviation)   # => ["astro-ph.IM", "astro-ph.CO", "astro-ph.EP"]

    # a single category
    manuscript.primary_category.name          # => "astro-ph.IM"
    manuscript.primary_category.description   # => "Physics - Instrumentation and Methods for Astrophysics"

### License
This is an open source project built by [Scholastica](https://scholasticahq.com) under the [MIT-LICENSE](https://github.com/scholastica/timber/blob/master/MIT-LICENSE).

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arxiv-0.1.11 README.md
arxiv-0.1.10 README.md
arxiv-0.1.9 README.md
arxiv-0.1.8 README.md
arxiv-0.1.7 README.md
arxiv-0.1.6 README.md