1
0
Fork
You've already forked doitools
0
A command-line tool to quickly run various types of query relating to DOIs (Digital Object Identifiers)
  • Rust 80.9%
  • Nix 19.1%
Jez Cope c726f8ba67
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
update nixpkgs snapshot used
2024年06月17日 16:41:36 +01:00
src doi: parse and validate DOIs 2024年06月14日 15:21:49 +01:00
.gitignore meta: ignore target folder 2024年04月18日 15:24:19 +01:00
.rustfmt.toml meta: set Rust edition to 2021 2024年04月18日 19:50:43 +01:00
.woodpecker.yaml add Woodpecker CI configuration 2024年06月14日 15:21:52 +01:00
Cargo.lock lib: add error handling 2024年06月14日 12:13:04 +01:00
Cargo.toml add repository and description to Cargo.toml 2024年06月17日 15:30:13 +01:00
flake.lock update nixpkgs snapshot used 2024年06月17日 16:41:36 +01:00
flake.nix update nixpkgs snapshot used 2024年06月17日 16:41:36 +01:00
README.md add jq example to README.md 2024年06月17日 16:41:18 +01:00

DOITools CLI

status-badge

This is a command-line tool to quickly run various types of query relating to DOIs (Digital Object Identifiers). In most cases it simply produces output in machine-readable format, mostly JSON or XML, so use of other tools such as fx, jq or a suitable text editor is recommended.

Examples of use

Fetch metadata for a single DOI from the central DOI resolver (doi.org) in CitationStyles JSON format, and explore it visually using fx:

doitools doi 10.5281/zenodo.3372333 | fx

Use jq to extract all contributor names from the DataCite Metadata Schema v4.5 via the DataCite API:

doitools datacite doi 10.14454/g8e5-6293 | jq '[.data.attributes.contributors[] | .name]'

Current and planned features

  • General DOI metadata fetching (via doi.org resolver)
  • DataCite API
    • Query detailed DOI information
    • Fetch multiple DOIs
    • Search/filter DOIs
    • Fetch member (Direct, Consortium Lead, Consortium Organisation) information
    • Authentication (quicker HTTP responses, access private data)
    • Create/update DOI
    • Query provenance information
  • DataCite/Crossref Event Data API
  • Crossref API: not currently planned
  • Other features
    • Parse and validate DOIs