Make an API GET-request
api_request(url = NULL, apikey = NULL, cmd = "get_servers_info", ...)
url | Server URL. |
---|---|
apikey | API key. |
cmd | API command,
see the API docs. Defaults to
printing server information via the |
... | Optional (named) parameters. |
The API result, usually a list
.
# NOT RUN { api_request("http://example.com/plexpy", "asdf", "get_servers_info") # }