BoxKite.Twitter.TrendsExtensions.GetTrendsAvailableLocations C# (CSharp) Метод

GetTrendsAvailableLocations() публичный статический Метод

Returns the locations that Twitter has trending topic information for.
ref: https://dev.twitter.com/docs/api/1.1/get/trends/available
public static GetTrendsAvailableLocations ( this session ) : Task>
session this
Результат Task>
        public static async Task<TwitterResponseCollection<TrendsAvailableLocationsResponse>> GetTrendsAvailableLocations(this ITwitterSession session)
        {
            var parameters = new TwitterParametersCollection();

            return await session.GetAsync(TwitterApi.Resolve("/1.1/trends/available.json"), parameters)
                .ContinueWith(c => c.MapToMany<TrendsAvailableLocationsResponse>());
        }