public TidalClient()
 {
     session = new TidalSession {
         CountryCode = "WW"
     };
     Init();
 }
        public async Task LoginWithUsernameAsync(string username, string password)
        {
            session = await PostAsync <TidalSession>("login/username", null, new List <KeyValuePair <string, string> >
            {
                new KeyValuePair <string, string>("username", username),
                new KeyValuePair <string, string>("password", password),
                new KeyValuePair <string, string>("clientVersion", "2.2.1--7")
            });

            UpdateClient();
        }
 public TidalClient(TidalSession savedSession)
 {
     session = savedSession;
     Init();
 }
 public TidalClient()
 {
     session = null;
     Init();
 }