Skip to content

naustica/Pitaya

Repository files navigation

Pitaya

CI Package - Version Documentation Status License

A Julia interface to the Crossref REST API. Inspired by habanero.

Install

(v1.5) pkg> add Pitaya

Usage

using Pitaya

# Optional
ENV["MAILTO"] = "nick.haupka@gmail.com"
ENV["CROSSREF_PLUS_API_TOKEN"] = "YOUR TOKEN"

Works

works(query="Heisenberg", limit=1)
works(doi="10.1038/nature12373")

Members

members(member_id=98,
        works=true,
        limit=5,
        sort="updated",
        filter=Dict("full-text.type" => "application/pdf",
                    "has-orcid" => "true"))

Funders

funders(funder_id="10.13039/100000001", works=true, limit=5)

Journals

journals(issn="1549-7712",
         works=true,
         offset=20,
         limit=10,
         facet=Dict("published" => 2007))

Types

types(type_id="reference-book", works=true, sample=20)

Prefixes

prefixes(owner_prefix="10.1016", works=true, order="desc", limit=20)

Licenses

licenses(query="creative", limit=3)

Registration agency

agency("10.1038/nature12373")

About

A Julia interface to the Crossref REST API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages