C# Class BoxKite.Twitter.SearchExtensions

Afficher le fichier Open project: nickhodge/BoxKite.Twitter

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
SearchResultString ( SearchResultType searchResult ) : string

Method Details

CreateSaveSearch() public static méthode

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.
Résultat Task

DeleteSavedSearch() public static méthode

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.
Résultat Task

GetSaveASearch() public static méthode

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.
Résultat Task

GetSavedSearches() public static méthode

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
Résultat Task>

SearchFor() public static méthode

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
Résultat Task

SearchFor() public static méthode

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
Résultat Task