You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AOZORAPI_HOST: host or host:port of Aozora Bunko API server (default: www.aozorahack.net)
Commands
books
$ ./bin/aozora books
Options
$ ./bin/aozora books --help
Usage: aozora books [OPTIONS]
list books
Options:
--id INTEGER
--title TEXT
--author TEXT
--output [json|txt]
--query TEXT
--help Show this message and exit.
persons
$ ./bin/aozora persons
Options
$ ./bin/aozora persons --help
Usage: aozora persons [OPTIONS]
list persons
Options:
--id INTEGER
--name TEXT
--output [json|txt]
--query TEXT
--help Show this message and exit.
content
$ ./bin/aozora content --id <book_id>
Options
$ ./bin/aozora content --help
Usage: aozora content [OPTIONS]
show content
Options:
--id INTEGER [required]
--format [txt|html]
--output [txt]
--help Show this message and exit.