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

Provides a set of methods for the wrapper of Premium search API. More...

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

Public Member Functions

PremiumSearchResult Search (params Expression< Func< string, object >>[] parameters)
 
PremiumSearchResult Search (IDictionary< string, object > parameters)
 
PremiumSearchResult Search (object parameters)
 
PremiumSearchResult Search (string product, string label, string query, string tag=null, string fromDate=null, string toDate=null, long? maxResults=null, string next=null)
 
Task< PremiumSearchResultSearchAsync (params Expression< Func< string, object >>[] parameters)
 
Task< PremiumSearchResultSearchAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< PremiumSearchResultSearchAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< PremiumSearchResultSearchAsync (string product, string label, string query, string tag=null, string fromDate=null, string toDate=null, long? maxResults=null, string next=null, CancellationToken cancellationToken=default(CancellationToken))
 
PremiumSearchCountResult Counts (params Expression< Func< string, object >>[] parameters)
 
PremiumSearchCountResult Counts (IDictionary< string, object > parameters)
 
PremiumSearchCountResult Counts (object parameters)
 
PremiumSearchCountResult Counts (string product, string label, string query, string fromDate=null, string toDate=null, Bucket? bucket=null, string next=null)
 
Task< PremiumSearchCountResultCountsAsync (params Expression< Func< string, object >>[] parameters)
 
Task< PremiumSearchCountResultCountsAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< PremiumSearchCountResultCountsAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< PremiumSearchCountResultCountsAsync (string product, string label, string query, string fromDate=null, string toDate=null, Bucket? bucket=null, string next=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 Premium search API.

Member Function Documentation

◆ Counts() [1/4]

PremiumSearchCountResult CoreTweet.Rest.Tweets.Counts ( IDictionary< string, object >  parameters)
inline

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses counts.

◆ Counts() [2/4]

PremiumSearchCountResult CoreTweet.Rest.Tweets.Counts ( object  parameters)
inline

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses counts.

◆ Counts() [3/4]

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

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses counts.

◆ Counts() [4/4]

PremiumSearchCountResult CoreTweet.Rest.Tweets.Counts ( string  product,
string  label,
string  query,
string  fromDate = null,
string  toDate = null,
Bucket bucket = null,
string  next = null 
)
inline

Returns counts (data volumes) data for the specified query.

Parameters
productrequired.
labelrequired.
queryrequired.
fromDateoptional.
toDateoptional.
bucketoptional.
nextoptional.
Returns
The statuses counts.

◆ CountsAsync() [1/4]

Task<PremiumSearchCountResult> CoreTweet.Rest.Tweets.CountsAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

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

◆ CountsAsync() [2/4]

Task<PremiumSearchCountResult> CoreTweet.Rest.Tweets.CountsAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

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

◆ CountsAsync() [3/4]

Task<PremiumSearchCountResult> CoreTweet.Rest.Tweets.CountsAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns counts (data volumes) data for the specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string fromDate (optional)

- string toDate (optional)

- Bucket bucket (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses counts.

◆ CountsAsync() [4/4]

Task<PremiumSearchCountResult> CoreTweet.Rest.Tweets.CountsAsync ( string  product,
string  label,
string  query,
string  fromDate = null,
string  toDate = null,
Bucket bucket = null,
string  next = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns counts (data volumes) data for the specified query.

Parameters
productrequired.
labelrequired.
queryrequired.
fromDateoptional.
toDateoptional.
bucketoptional.
nextoptional.
cancellationTokenThe cancellation token.
Returns
The statuses counts.

◆ Search() [1/4]

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

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Search() [2/4]

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

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Search() [3/4]

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

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ Search() [4/4]

PremiumSearchResult CoreTweet.Rest.Tweets.Search ( string  product,
string  label,
string  query,
string  tag = null,
string  fromDate = null,
string  toDate = null,
long?  maxResults = null,
string  next = null 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Parameters
productrequired.
labelrequired.
queryrequired.
tagoptional.
fromDateoptional.
toDateoptional.
maxResultsoptional.
nextoptional.
Returns
The statuses.

◆ SearchAsync() [1/4]

Task<PremiumSearchResult> CoreTweet.Rest.Tweets.SearchAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

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

◆ SearchAsync() [2/4]

Task<PremiumSearchResult> CoreTweet.Rest.Tweets.SearchAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

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

◆ SearchAsync() [3/4]

Task<PremiumSearchResult> CoreTweet.Rest.Tweets.SearchAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a collection of relevant Tweets matching a specified query.

Available parameters:

- string product (required)

- string label (required)

- string query (required)

- string tag (optional)

- string fromDate (optional)

- string toDate (optional)

- long maxResults (optional)

- string next (optional)

Parameters
parametersThe parameters.
Returns
The statuses.

◆ SearchAsync() [4/4]

Task<PremiumSearchResult> CoreTweet.Rest.Tweets.SearchAsync ( string  product,
string  label,
string  query,
string  tag = null,
string  fromDate = null,
string  toDate = null,
long?  maxResults = null,
string  next = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a collection of relevant Tweets matching a specified query.

Parameters
productrequired.
labelrequired.
queryrequired.
tagoptional.
fromDateoptional.
toDateoptional.
maxResultsoptional.
nextoptional.
cancellationTokenThe cancellation token.
Returns
The statuses.

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