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>());
        }