ping_eol: Ping the Encyclopedia Of Life

Description Usage Arguments Value See Also Examples

View source: R/ping_eol.R

Description

A 'ping' is a simple call to indicate if an API is in working order.

Usage

1
ping_eol(key = NULL)

Arguments

key

Encyclopedia Of Life identification key

Value

the word Success (taken from the Encyclopedia Of Life's XML response), will stop otherwise

See Also

use can_use_eol to get a boolean to indicate the Encylopedia Of Life is in working order

Examples

1
2
3
4
library(testthat)

result <- ping_eol()
expect_equal(ping_eol(), "Success")

richelbilderbeek/aureole documentation built on March 4, 2020, 10:47 p.m.