OPTIONS:
--get-token
Generate OverDrive API basic token.
--key
Client key supplied by OverDrive. Required with --get-token.
--secret
Client secret supplied by OverDrive. Required with --get-token.
--token
Your OverDrive API basic token (clientKey:clientSecret, Base64-encoded).
Required unless using --get-token.
--account
Your OverDrive API account ID (e.g. 1234). Not required for generating
a basic token; required for everything else.
--oauth-endpoint
OverDrive API endpoint for OAuth token requests.
Default: https://oauth.overdrive.com/token.
--endpoint
OverDrive API endpoint that you wish to test.
Default: https://api.overdrive.com/v1/libraries/<account>
--content
JSON content of main API request. Required only if you have specified
an endpoint that expects JSON message content.
--oauth-only
Only request an OAuth token; do not attempt further API requests.
--patron-auth
Submit a patron authentication request.
--barcode
Patron barcode. Required with --patron-auth.
--password
Patron password. Required with --patron-auth if your library requires
password for patron authentication.
--websiteid
Website ID supplied by OverDrive. Required with --patron-auth.
--authorizationname
ILS name supplied by OverDrive. Required with --patron-auth.
--verbose
Print full HTTP requests and responses.
--help
Print this help message.
EXAMPLES:
To generate your basic token, given a client key and client secret supplied
by OverDrive: