|
10 | 10 | </header> |
11 | 11 | <nav> |
12 | 12 | <ul> |
13 | | -<li><a href="/">Home</a></li> |
14 | | -<li><a href="../">README</a></li> |
15 | | -<li><a href="../license.html">LICENSE</a></li> |
16 | | -<li><a href="../install.html">INSTALL</a></li> |
17 | | -<li><a href="./">Documentation</a></li> |
18 | | -<li><a href="https://github.com/caltechlibrary/crossrefapi">Github</a></li> |
| 13 | +<li> |
| 14 | +<a href="/">Home</a> |
| 15 | +</li> |
| 16 | +<li> |
| 17 | +<a href="../">README</a> |
| 18 | +</li> |
| 19 | +<li> |
| 20 | +<a href="../license.html">LICENSE</a> |
| 21 | +</li> |
| 22 | +<li> |
| 23 | +<a href="../install.html">INSTALL</a> |
| 24 | +</li> |
| 25 | +<li> |
| 26 | +<a href="./">Documentation</a> |
| 27 | +</li> |
| 28 | +<li> |
| 29 | +<a href="https://github.com/caltechlibrary/crossrefapi">Github</a> |
| 30 | +</li> |
19 | 31 | </ul> |
20 | | - |
21 | 32 | </nav> |
22 | 33 |
|
23 | 34 | <section> |
24 | | -<h1>USAGE</h1> |
25 | | - |
26 | | -<pre><code>crossrefapi [OPTIONS] types|works DOI |
27 | | -</code></pre> |
28 | | - |
29 | | -<h2>SYNOPSIS</h2> |
30 | | - |
31 | | -<p>crossrefapi is a command line utility to retrieve “types” and “works” objects |
32 | | -from the CrossRef API. It follows the etiquette suggested at</p> |
33 | | - |
34 | | -<pre><code>https://github.com/CrossRef/rest-api-doc#etiquette |
35 | | -</code></pre> |
36 | | - |
37 | | -<p>EXAMPLES</p> |
38 | | - |
39 | | -<p>Return the types of objects in CrossRef (e.g. journal articles)</p> |
40 | | - |
41 | | -<pre><code>crossrefapi -mailto="jane.doe@example.edu" types |
42 | | -</code></pre> |
43 | | - |
44 | | -<p>Return the works for the doi “10.1000/xyz123”</p> |
45 | | - |
46 | | -<pre><code>crossrefapi -mailto="jane.doe@example.edu" works "10.1000/xyz123" |
47 | | -</code></pre> |
48 | | - |
49 | | -<h2>OPTIONS</h2> |
50 | | - |
51 | | -<pre><code> -generate-markdown-docs output documentation in Markdown |
52 | | - -h, -help display help |
53 | | - -l, -license display license |
54 | | - -m, -mailto set the mailto value for API access |
55 | | - -v, -version display app version |
56 | | -</code></pre> |
57 | | - |
58 | | -<p>crossrefapi v0.0.1</p> |
59 | | - |
| 35 | +<h1 id="usage"> |
| 36 | +USAGE |
| 37 | +</h1> |
| 38 | +<pre><code>crossrefapi [OPTIONS] types|works DOI</code></pre> |
| 39 | +<h2 id="synopsis"> |
| 40 | +SYNOPSIS |
| 41 | +</h2> |
| 42 | +<p> |
| 43 | +<em>crossrefapi</em> can retrieve “types” and “works” from the CrossRef API |
| 44 | +</p> |
| 45 | +<h2 id="description"> |
| 46 | +DESCRIPTION |
| 47 | +</h2> |
| 48 | +<p> |
| 49 | +<em>crossrefapi</em> is a command line utility to retrieve “types” and “works” objects from the CrossRef API. It follows the etiquette suggested at |
| 50 | +</p> |
| 51 | +<pre><code> https://github.com/CrossRef/rest-api-doc#etiquette</code></pre> |
| 52 | +<h2 id="options"> |
| 53 | +OPTIONS |
| 54 | +</h2> |
| 55 | +<p> |
| 56 | +Below are a set of options available. |
| 57 | +</p> |
| 58 | +<pre><code> -generate-manpage generate man page |
| 59 | + -generate-markdown output documentation in Markdown |
| 60 | + -h, -help display help |
| 61 | + -l, -license display license |
| 62 | + -m, -mailto set the mailto value for API access |
| 63 | + -v, -version display app version</code></pre> |
| 64 | +<h2 id="examples"> |
| 65 | +EXAMPLES |
| 66 | +</h2> |
| 67 | +<p> |
| 68 | +Return the types of objects in CrossRef (e.g. journal articles) |
| 69 | +</p> |
| 70 | +<pre><code> crossrefapi -mailto="jdoe@example.edu" types</code></pre> |
| 71 | +<p> |
| 72 | +Return the works for the doi “10.1037/0003-066x.59.1.29” |
| 73 | +</p> |
| 74 | +<pre><code> crossrefapi -mailto="jdoe@example.edu" \ |
| 75 | + works "10.1037/0003-066x.59.1.29"</code></pre> |
| 76 | +<p> |
| 77 | +crossrefapi v0.0.5 |
| 78 | +</p> |
60 | 79 | </section> |
61 | 80 |
|
62 | 81 | <footer> |
63 | 82 | <span><h1><A href="https://caltech.edu">Caltech</a></h1></span> |
64 | | -<span>© 2018 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span> |
| 83 | +<span>© 2021 <a href="https://www.library.caltech.edu/copyright">Caltech library</a></span> |
65 | 84 | <address>1200 E California Blvd, Mail Code 1-32, Pasadena, CA 91125-3200</address> |
66 | 85 | <span>Phone: <a href="tel:+1-626-395-3405">(626)395-3405</a></span> |
67 | 86 | <span><a href="mailto:library@caltech.edu">Email Us</a></span> |
|
0 commit comments