Пример #1
0
        public IEnumerable <IUserDTO> GetSuggestedUsers(string slug, Language?language)
        {
            var query = _accountQueryGenerator.GetUserSuggestionsQuery(slug, language);

            return(_twitterAccessor.ExecuteGETQueryWithPath <IEnumerable <IUserDTO> >(query, "users"));
        }
Пример #2
0
        public IEnumerable <IPlace> SearchGeo(IGeoSearchParameters parameters)
        {
            var query = _geoQueryGenerator.GetSearchGeoQuery(parameters);

            return(_twitterAccessor.ExecuteGETQueryWithPath <IEnumerable <IPlace> >(query, "result", "places"));
        }
Пример #3
0
        public string GetTermsOfService()
        {
            var query = _helpQueryGenerator.GetTermsOfServiceQuery();

            return(_twitterAccessor.ExecuteGETQueryWithPath <string>(query, "tos"));
        }