/// <summary> /// Generates a new API Token /// </summary> public static string NewToken() { RestConnection<string> conn = new RestConnection<string>(); string token = conn.InvokeGet("new_token"); return token; }
/// <summary> /// Retrieves the account details /// </summary> public static Account Details() { RestConnection<Account> conn = new RestConnection<Account>(); Account account = conn.InvokeGet("account"); return account; }