get_advice: Makes a call to the advice slip API to return a random piece...

Description Usage Arguments Value

View source: R/get_advice.R

Description

Makes a call to the advice slip API to return a random piece of advice. Requires jsonlite.

Usage

1
get_advice(id = sample(1:216, 1))

Arguments

id

An integer between 1 and 216. Default is randomly generated.

Value

A string of advice


katiejolly/advicegiveR documentation built on May 22, 2019, 11:52 p.m.