api_request | R Documentation |
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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.