summaryrefslogtreecommitdiff
path: root/README.md
blob: a96fa9acfb8632966d765b29da3b21e6e6730ab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
## isbn

## Install and Use
From Github:
```
git clone https://github.com/rcpatrick/isbn.git
```
From my website:
```
git clone git://git.raypatrick.xyz/isbn.git
```
Then:
```
cd isbn
sudo make install
```

NAME
----

isbn - Retrieves title, author, publisher, and publishing date of any book, given its 10- or 13-digit ISBN number. 

SYNOPSIS
--------

`isbn ISBN_NUMBER [-b]`

DESCRIPTION
-----------

isbn is a simple utility that accepts a 10- or 13-digit ISBN number, then queries the Google Books API to retrieve its title, author, publisher, and year of publication. It can display this information on stdout as plain text or formatted as a LaTeX .bibtex entry.

OPTIONS
-------

`ISBN_NUMBER`

:   May be a 10- or 13-digit ISBN number, with or without dashes. For example: 0-446-60725-8, or 0446607258.

`-b, --bibtex`

:   Format book information as a LaTeX .bibtex entry. If this option is not specified, output will be in plain text.

BUGS
----

Information provided by this tool is no better than that loaded into the Google Books database. Always double-check the output of the program.

AUTHOR
------

Written 2021 by Ray Patrick.

SEE ALSO
--------

jq(1)