get_api: Get API

Description Usage Arguments Value See Also Examples

View source: R/operations.R

Description

Create API object from Swagger specification

Usage

1
get_api(url, config = NULL)

Arguments

url

Api url (can be json or yaml format)

config

httr::config() curl options.

Value

API object

See Also

See also get_operations and get_schemas

Examples

1
2
3
4
5
6
7
## Not run: 
# create operation and schema functions
api <- get_api(api_url)
operations <- get_operations(api)
schemas <- get_schemas(api)

## End(Not run)

rapiclient documentation built on Jan. 18, 2020, 1:10 a.m.