Package 'rowlbot'

Title: R client for the Owlbot Dictionary API
Description: R client for the Owlbot Dictionary API <https://owlbot.info/>.
Authors: Kevin Cazelles [aut, cre]
Maintainer: Kevin Cazelles <[email protected]>
License: GPL-3
Version: 1.0.0.9000
Built: 2024-10-30 02:44:24 UTC
Source: https://github.com/inSileco/rowlbot

Help Index


Get, set and forget authentification token.

Description

Get, set and forget authentification token.

Usage

rob_get_secret()

rob_set_token(token = NULL)

forget_token()

Arguments

token

authentification token (obtained at https://owlbot.info/).

Functions

  • rob_set_token: set token interactively.

  • forget_token: forget token.


Query the OWLBOT API see https://owlbot.info/

Description

Query the OWLBOT API see https://owlbot.info/

Usage

rowlbot(word, token = NULL, ...)

## S3 method for class 'rob_def'
print(x, ...)

## S3 method for class 'rob_def'
plot(x, ...)

Arguments

word

a word to be defined.

token

authentification token. If NULL (default) then rob_get_secret() is called which looks for OWLBOT_TOKEN in environment variables and calls rob_set_token() is OWLBOT_TOKEN is missing.

...

Extra arguments passed to httr::GET().

x

an object of class rob_def.

Methods (by generic)

  • print: print method for rob_def object.

  • plot: plot method for rob_def object.

Examples

## Not run: 
 rowlbot("owl")

## End(Not run)