api_request {tauturri} | R Documentation |
Make an API GET-request
Description
Make an API GET-request
Usage
api_request(url = NULL, apikey = NULL, cmd = "get_servers_info", ...)
Arguments
url |
Server URL. |
apikey |
API key. |
cmd |
API command,
see the API docs. Defaults to
printing server information via the |
... |
Optional (named) parameters. |
Value
The API result, usually a list
.
Examples
## Not run:
api_request("http://example.com/plexpy", "asdf", "get_servers_info")
## End(Not run)
[Package tauturri version 0.3.0 Index]