} = "0"; //No idea if this ever changes as I only have 1 box. public DirectTvAPI(string stb_ip) { this.m_client = new RestCommunicationService(stb_ip); }
public async Task <string> GetDataAsync(RestCommunicationService t_client, string request_type) { var response = await t_client.SendRequestAsync(new RestRequest(request_type)); return(response.Content); }