CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.Rest.Search Class Reference

Provides a set of methods for the wrapper of GET search. More...

Inheritance diagram for CoreTweet.Rest.Search:
CoreTweet.Core.ApiProviderBase

Public Member Functions

SearchResult Tweets (params Expression< Func< string, object >>[] parameters)
 
SearchResult Tweets (IDictionary< string, object > parameters)
 
SearchResult Tweets (object parameters)
 
SearchResult Tweets (string q, string geocode=null, string lang=null, string locale=null, string result_type=null, int? count=null, string until=null, long? since_id=null, long? max_id=null, bool? include_entities=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null)
 
Task< SearchResultTweetsAsync (params Expression< Func< string, object >>[] parameters)
 
Task< SearchResultTweetsAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchResultTweetsAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchResultTweetsAsync (string q, string geocode=null, string lang=null, string locale=null, string result_type=null, int? count=null, string until=null, long? since_id=null, long? max_id=null, bool? include_entities=null, bool? include_ext_alt_text=null, TweetMode? tweet_mode=null, CancellationToken cancellationToken=default(CancellationToken))
 

Additional Inherited Members

- Public Attributes inherited from CoreTweet.Core.ApiProviderBase
TokensBase IncludedTokens => this.Tokens
 Gets the tokens being used in this instance. More...
 
- Properties inherited from CoreTweet.Core.ApiProviderBase
TokensBase Tokens [get, set]
 Gets or sets the OAuth tokens. More...
 

Detailed Description

Provides a set of methods for the wrapper of GET search.

Member Function Documentation

◆ Tweets() [1/4]

SearchResult CoreTweet.Rest.Search.Tweets ( IDictionary< string, object >  parameters)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Tweets() [2/4]

SearchResult CoreTweet.Rest.Search.Tweets ( object  parameters)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Tweets() [3/4]

SearchResult CoreTweet.Rest.Search.Tweets ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Tweets() [4/4]

SearchResult CoreTweet.Rest.Search.Tweets ( string  q,
string  geocode = null,
string  lang = null,
string  locale = null,
string  result_type = null,
int?  count = null,
string  until = null,
long?  since_id = null,
long?  max_id = null,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Parameters
qrequired.
geocodeoptional.
langoptional.
localeoptional.
result_typeoptional.
countoptional.
untiloptional.
since_idoptional.
max_idoptional.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
Returns
The statuses.

◆ TweetsAsync() [1/4]

Task<SearchResult> CoreTweet.Rest.Search.TweetsAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The statuses.

◆ TweetsAsync() [2/4]

Task<SearchResult> CoreTweet.Rest.Search.TweetsAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The statuses.

◆ TweetsAsync() [3/4]

Task<SearchResult> CoreTweet.Rest.Search.TweetsAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string q (required)

- string geocode (optional)

- string lang (optional)

- string locale (optional)

- string result_type (optional)

- int count (optional)

- string until (optional)

- long since_id (optional)

- long max_id (optional)

- bool include_entities (optional)

- bool include_ext_alt_text (optional)

- TweetMode tweet_mode (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ TweetsAsync() [4/4]

Task<SearchResult> CoreTweet.Rest.Search.TweetsAsync ( string  q,
string  geocode = null,
string  lang = null,
string  locale = null,
string  result_type = null,
int?  count = null,
string  until = null,
long?  since_id = null,
long?  max_id = null,
bool?  include_entities = null,
bool?  include_ext_alt_text = null,
TweetMode tweet_mode = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Parameters
qrequired.
geocodeoptional.
langoptional.
localeoptional.
result_typeoptional.
countoptional.
untiloptional.
since_idoptional.
max_idoptional.
include_entitiesoptional.
include_ext_alt_textoptional.
tweet_modeoptional.
cancellationTokenThe cancellation token.
Returns
The statuses.

The documentation for this class was generated from the following file: