C# 클래스 BoxKite.Twitter.SearchExtensions

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

공개 메소드들

메소드 설명
CreateSaveSearch ( this session, string searchText ) : Task

Saves a search

ref: https://dev.twitter.com/docs/api/1.1/post/saved_searches/create

DeleteSavedSearch ( this session, string SavedSearchId ) : Task

Creates a saved search

ref: https://dev.twitter.com/docs/api/1.1/post/saved_searches/destroy/%3Aid

GetSaveASearch ( this session, string id ) : Task

Retrieve the information for the saved search represented by the given id.

ref: https://dev.twitter.com/docs/api/1.1/get/saved_searches/show/%3Aid

GetSavedSearches ( this session ) : Task>

Returns the authenticated user's saved search queries.

ref: https://dev.twitter.com/docs/api/1.1/get/saved_searches/list

SearchFor ( this session, string searchText, SearchResultType searchResponseType, double latitude, double longitude, double distance, string distanceUnits = "km", long maxId, long sinceId, string untilDate = "", int count = 20 ) : Task

Geotagged dedicated API for running searches against the real-time index of recent Tweets. 6-9 days

ref: https://dev.twitter.com/docs/api/1.1/get/search/tweets

SearchFor ( this session, string searchText, SearchResultType searchResponseType, long maxId, long sinceId, string untilDate = "", int count = 20 ) : Task

dedicated API for running searches against the real-time index of recent Tweets. 6-9 days of historical data

ref: https://dev.twitter.com/docs/api/1.1/get/search/tweets

비공개 메소드들

메소드 설명
SearchResultString ( SearchResultType searchResult ) : string

메소드 상세

CreateSaveSearch() 공개 정적인 메소드

Saves a search
ref: https://dev.twitter.com/docs/api/1.1/post/saved_searches/create
public static CreateSaveSearch ( this session, string searchText ) : Task
session this
searchText string search query of 1,000 characters maximum, including operators. Queries may additionally be limited by complexity.
리턴 Task

DeleteSavedSearch() 공개 정적인 메소드

Creates a saved search
ref: https://dev.twitter.com/docs/api/1.1/post/saved_searches/destroy/%3Aid
public static DeleteSavedSearch ( this session, string SavedSearchId ) : Task
session this
SavedSearchId string The ID of the saved search.
리턴 Task

GetSaveASearch() 공개 정적인 메소드

Retrieve the information for the saved search represented by the given id.
ref: https://dev.twitter.com/docs/api/1.1/get/saved_searches/show/%3Aid
public static GetSaveASearch ( this session, string id ) : Task
session this
id string The ID of the saved search.
리턴 Task

GetSavedSearches() 공개 정적인 메소드

Returns the authenticated user's saved search queries.
ref: https://dev.twitter.com/docs/api/1.1/get/saved_searches/list
public static GetSavedSearches ( this session ) : Task>
session this
리턴 Task>

SearchFor() 공개 정적인 메소드

Geotagged dedicated API for running searches against the real-time index of recent Tweets. 6-9 days
ref: https://dev.twitter.com/docs/api/1.1/get/search/tweets
public static SearchFor ( this session, string searchText, SearchResultType searchResponseType, double latitude, double longitude, double distance, string distanceUnits = "km", long maxId, long sinceId, string untilDate = "", int count = 20 ) : Task
session this
searchText string search query of 1,000 characters maximum, including operators. Queries may additionally be limited by complexity.
searchResponseType SearchResultType SearchResult.Mixed (default), SearchResult.Recent, SearchResult.Popular
latitude double Returns tweets by users located within a given radius of the given latitude/longitude.
longitude double Returns tweets by users located within a given radius of the given latitude/longitude.
distance double Returns tweets by users located within a given radius of the given latitude/longitude.
distanceUnits string km (default) or mi
maxId long
sinceId long
untilDate string YYYY-MM-DD format
count int Tweets to return Default 20
리턴 Task

SearchFor() 공개 정적인 메소드

dedicated API for running searches against the real-time index of recent Tweets. 6-9 days of historical data
ref: https://dev.twitter.com/docs/api/1.1/get/search/tweets
public static SearchFor ( this session, string searchText, SearchResultType searchResponseType, long maxId, long sinceId, string untilDate = "", int count = 20 ) : Task
session this
searchText string search query of 1,000 characters maximum, including operators. Queries may additionally be limited by complexity.
searchResponseType SearchResultType SearchResult.Mixed (default), SearchResult.Recent, SearchResult.Popular
maxId long
sinceId long
untilDate string YYYY-MM-DD format
count int Tweets to return Default 20
리턴 Task