get_api {rapiclient}R Documentation

Get API

Description

Create API object from Swagger specification

Usage

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

## Not run: 
# create operation and schema functions
api <- get_api(api_url)
operations <- get_operations(api)
schemas <- get_schemas(api)

## End(Not run)

[Package rapiclient version 0.1.5 Index]