Create an orderlyweb object, for interaction with the OrderlyWeb API at a high level. For low level access, see orderlyweb_api_client or the $api_client field of the created object.

orderlyweb(..., api_client = NULL)

Arguments

...

Arguments passed through to orderlyweb_api_client

api_client

A pre-constructed orderlyweb_api_client, in which case ... is ignored

Examples

cl <- orderlyweb::orderlyweb(host = "example.com", port = 443,
                             token = "mytoken")
cl$api_client$is_authorised()
#> [1] FALSE