public string GetPlaceTrendsAtQuery(IWoeIdLocation woeIdLocation)
        {
            if (woeIdLocation == null)
            {
                throw new ArgumentException("WoeId cannot be null");
            }

            return(GetPlaceTrendsAtQuery(woeIdLocation.WoeId));
        }
        public string GetPlaceTrendsAtQuery(IWoeIdLocation woeIdLocation)
        {
            if (woeIdLocation == null)
            {
                throw new ArgumentException("WoeId cannot be null");
            }

            return GetPlaceTrendsAtQuery(woeIdLocation.WoeId);
        }
 public static string GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return(TrendsJsonController.GetPlaceTrendsAt(woeIdLocation));
 }
        public string GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
        {
            string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeIdLocation);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
        {
            string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeIdLocation);

            return(_twitterAccessor.ExecuteGETQuery <IPlaceTrends[]>(query)[0]);
        }
Example #6
0
 public static async Task <IPlaceTrends> GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return(await Sync.ExecuteTaskAsync(() => Trends.GetTrendsAt(woeIdLocation)));
 }
 public IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
 {
     string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeIdLocation);
     return _twitterAccessor.ExecuteGETQuery<IPlaceTrends[]>(query)[0];
 }
Example #8
0
 public IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return(_trendsQueryExecutor.GetPlaceTrendsAt(woeIdLocation));
 }
Example #9
0
 /// <summary>
 /// Get the trends at a specific location
 /// </summary>
 public static IPlaceTrends GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return(TrendsController.GetPlaceTrendsAt(woeIdLocation));
 }
 public static async Task<IPlaceTrends> GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return await Sync.ExecuteTaskAsync(() => Trends.GetTrendsAt(woeIdLocation));
 }
Example #11
0
 public static string GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return TrendsJsonController.GetPlaceTrendsAt(woeIdLocation);
 }
 public string GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
 {
     string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeIdLocation);
     return _twitterAccessor.ExecuteJsonGETQuery(query);
 }
Example #13
0
 public IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return _trendsQueryExecutor.GetPlaceTrendsAt(woeIdLocation);
 }
Example #14
0
 /// <summary>
 /// Get the trends at a specific location
 /// </summary>
 public static IPlaceTrends GetTrendsAt(IWoeIdLocation woeIdLocation)
 {
     return TrendsController.GetPlaceTrendsAt(woeIdLocation);
 }