public UserStateResult getUserState ( String username ) throws APIConnectionException , APIRequestException { StringUtils . checkUsername ( username ) ; ResponseWrapper response = _httpClient . sendGet ( _baseUrl + userPath + "/" + username + "/userstat" ) ; return UserStateResult . fromResponse ( response , UserStateResult . class ) ; }
Get user state