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