CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
Provides a set of methods for the wrapper of Recent search v2 API on Twitter API v2. More...
Public Member Functions | |
RecentSearchResponse | GetTweets (params Expression< Func< string, object >>[] parameters) |
RecentSearchResponse | GetTweets (IDictionary< string, object > parameters) |
RecentSearchResponse | GetTweets (object parameters) |
RecentSearchResponse | GetTweets (string query, DateTimeOffset? end_time=null, TweetExpansions? expansions=null, int? max_results=null, MediaFields? media_fields=null, string next_token=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, long? since_id=null, DateTimeOffset? start_time=null, TweetFields? tweet_fields=null, long? until_id=null, UserFields? user_fields=null) |
Task< RecentSearchResponse > | GetTweetsAsync (params Expression< Func< string, object >>[] parameters) |
Task< RecentSearchResponse > | GetTweetsAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< RecentSearchResponse > | GetTweetsAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken)) |
Task< RecentSearchResponse > | GetTweetsAsync (string query, DateTimeOffset? end_time=null, TweetExpansions? expansions=null, int? max_results=null, MediaFields? media_fields=null, string next_token=null, PlaceFields? place_fields=null, PollFields? poll_fields=null, long? since_id=null, DateTimeOffset? start_time=null, TweetFields? tweet_fields=null, long? until_id=null, UserFields? user_fields=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... | |
Provides a set of methods for the wrapper of Recent search v2 API on Twitter API v2.
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
query | required. |
end_time | optional. |
expansions | optional. |
max_results | optional. |
media_fields | optional. |
next_token | optional. |
place_fields | optional. |
poll_fields | optional. |
since_id | optional. |
start_time | optional. |
tweet_fields | optional. |
until_id | optional. |
user_fields | optional. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
cancellationToken | The cancellation token. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
Available parameters:
- string
query (required)
- DateTimeOffset
end_time (optional)
- TweetExpansions
expansions (optional)
- int
max_results (optional)
- MediaFields
media_fields (optional, query string: "media.fields"
)
- string
next_token (optional)
- PlaceFields
place_fields (optional, query string: "place.fields"
)
- PollFields
poll_fields (optional, query string: "poll.fields"
)
- long
since_id (optional)
- DateTimeOffset
start_time (optional)
- TweetFields
tweet_fields (optional, query string: "tweet.fields"
)
- long
until_id (optional)
- UserFields
user_fields (optional, query string: "user.fields"
)
parameters | The parameters. |
|
inline |
Returns Tweets from the last 7 days that match a search query.
query | required. |
end_time | optional. |
expansions | optional. |
max_results | optional. |
media_fields | optional. |
next_token | optional. |
place_fields | optional. |
poll_fields | optional. |
since_id | optional. |
start_time | optional. |
tweet_fields | optional. |
until_id | optional. |
user_fields | optional. |
cancellationToken | The cancellation token. |