cat_fact: get a cat fact

Description Usage Arguments Value Examples

View source: R/cat_fact.R

Description

get a cat fact

Usage

1
cat_fact(max_length = NULL, ...)

Arguments

max_length

(integer) limits the length of the facts returned

...

curl options passed on to httr::GET

Value

a cat fact in a list

Examples

1
2
3
4
5
6
7
## Not run: 
cat_fact()
cat_fact(40)
cat_fact(80)
cat_fact('asdf') # invalid max_length returns nothing

## End(Not run)

sckott/catfact documentation built on Dec. 1, 2020, 10:29 a.m.