C# 클래스 BoxKite.Twitter.TrendsExtensions

파일 보기 프로젝트 열기: nickhodge/BoxKite.Twitter

공개 메소드들

메소드 설명
GetTrendsAvailableLocations ( this session ) : Task>

Returns the locations that Twitter has trending topic information for.

ref: https://dev.twitter.com/docs/api/1.1/get/trends/available

GetTrendsByLocation ( this session, double latitude = 0.0, double longitude = 0.0 ) : Task>

Returns the locations that Twitter has trending topic information for, closest to a specified location.

ref: https://dev.twitter.com/docs/api/1.1/get/trends/closest

GetTrendsForPlace ( this session, int placeId = 1, bool exclude = false ) : Task>

Returns the top 10 trending topics for a specific WOEID, if trending information is available for it.

ref: https://dev.twitter.com/docs/api/1.1/get/trends/place

메소드 상세

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>

GetTrendsByLocation() 공개 정적인 메소드

Returns the locations that Twitter has trending topic information for, closest to a specified location.
ref: https://dev.twitter.com/docs/api/1.1/get/trends/closest
public static GetTrendsByLocation ( this session, double latitude = 0.0, double longitude = 0.0 ) : Task>
session this
latitude double If provided with a long parameter the available trend locations will be sorted by distance, nearest to furthest, to the co-ordinate pair.
longitude double If provided with a lat parameter the available trend locations will be sorted by distance, nearest to furthest, to the co-ordinate pair.
리턴 Task>

GetTrendsForPlace() 공개 정적인 메소드

Returns the top 10 trending topics for a specific WOEID, if trending information is available for it.
ref: https://dev.twitter.com/docs/api/1.1/get/trends/place
public static GetTrendsForPlace ( this session, int placeId = 1, bool exclude = false ) : Task>
session this
placeId int The Yahoo! Where On Earth ID of the location to return trending information for. Global information is available by using 1 as the WOEID.
exclude bool If true will remove all hashtags from the trends list.
리턴 Task>