C# Класс BoxKite.Twitter.TrendsExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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>