static void GetArchiveDataOverPast24Hours(SolarClient client)
        {
            var channels = new List <Channel> {
                Channel.Voltage_AC_Phase_1, Channel.Voltage_AC_Phase_2, Channel.Voltage_AC_Phase_3
            };

            var data = client.GetArchiveData(DateTime.Now.AddDays(-1), DateTime.Now, channels);

            Console.WriteLine(data.Body);
        }
        static void GetArchiveDataBetweenDates(SolarClient client)
        {
            var channels = new List <Channel> {
                Channel.Voltage_AC_Phase_1, Channel.Voltage_AC_Phase_2, Channel.Voltage_AC_Phase_3
            };

            var dateFrom = DateTime.Parse("01/08/2019");
            var dateTo   = DateTime.Parse("05/08/2019");

            var data = client.GetArchiveData(dateFrom, dateTo, channels);

            Console.WriteLine(data);
        }