Added test sonarr button #9

This commit is contained in:
tidusjar 2016-03-15 13:12:47 +00:00
commit c582b3eb6c
7 changed files with 118 additions and 10 deletions

View file

@ -98,5 +98,15 @@ namespace PlexRequests.Api
return obj;
}
public SystemStatus SystemStatus(string apiKey, Uri baseUrl)
{
var request = new RestRequest { Resource = "/api/system/status", Method = Method.GET };
request.AddHeader("X-Api-Key", apiKey);
var obj = Api.ExecuteJson<SystemStatus>(request, baseUrl);
return obj;
}
}
}