CoreTweet
2.0.0-beta.2
Yet another .NET Twitter Library
|
Represents the wrapper for the Twitter Streaming API. More...
Public Member Functions | |
IEnumerable< StreamingMessage > | StartStream (StreamingType type, StreamingParameters parameters=null) |
Starts the Twitter stream. More... | |
Task< IEnumerable< StreamingMessage > > | StartStreamAsync (StreamingType type, StreamingParameters parameters=null, CancellationToken cancellationToken=default(CancellationToken)) |
Starts the Twitter stream asynchronously. More... | |
IEnumerable< StreamingMessage > | User (params Expression< Func< string, object >>[] parameters) |
Streams messages for a single user. More... | |
IEnumerable< StreamingMessage > | User (IDictionary< string, object > parameters) |
Streams messages for a single user. More... | |
IEnumerable< StreamingMessage > | User (object parameters) |
Streams messages for a single user. More... | |
IEnumerable< StreamingMessage > | User (bool? stall_warnings=null, string with=null, string replies=null, string track=null, IEnumerable< double > locations=null) |
Streams messages for a single user. More... | |
IEnumerable< StreamingMessage > | Site (params Expression< Func< string, object >>[] parameters) |
Streams messages for a set of users. More... | |
IEnumerable< StreamingMessage > | Site (IDictionary< string, object > parameters) |
Streams messages for a set of users. More... | |
IEnumerable< StreamingMessage > | Site (object parameters) |
Streams messages for a set of users. More... | |
IEnumerable< StreamingMessage > | Site (IEnumerable< long > follow, bool? stall_warnings=null, string with=null, string replies=null) |
Streams messages for a set of users. More... | |
IEnumerable< StreamingMessage > | Filter (params Expression< Func< string, object >>[] parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IEnumerable< StreamingMessage > | Filter (IDictionary< string, object > parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IEnumerable< StreamingMessage > | Filter (object parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IEnumerable< StreamingMessage > | Filter (IEnumerable< long > follow=null, string track=null, IEnumerable< double > locations=null, bool? stall_warnings=null) |
Returns public statuses that match one or more filter predicates. More... | |
IEnumerable< StreamingMessage > | Sample (params Expression< Func< string, object >>[] parameters) |
Returns a small random sample of all public statuses. More... | |
IEnumerable< StreamingMessage > | Sample (IDictionary< string, object > parameters) |
Returns a small random sample of all public statuses. More... | |
IEnumerable< StreamingMessage > | Sample (object parameters) |
Returns a small random sample of all public statuses. More... | |
IEnumerable< StreamingMessage > | Sample (bool? stall_warnings=null) |
Returns a small random sample of all public statuses. More... | |
IEnumerable< StreamingMessage > | Firehose (params Expression< Func< string, object >>[] parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IEnumerable< StreamingMessage > | Firehose (IDictionary< string, object > parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IEnumerable< StreamingMessage > | Firehose (object parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IEnumerable< StreamingMessage > | Firehose (int? count=null, bool? stall_warnings=null) |
Returns all public statuses. Few applications require this level of access. More... | |
IObservable< StreamingMessage > | UserAsObservable (params Expression< Func< string, object >>[] parameters) |
Streams messages for a single user. More... | |
IObservable< StreamingMessage > | UserAsObservable (IDictionary< string, object > parameters) |
Streams messages for a single user. More... | |
IObservable< StreamingMessage > | UserAsObservable (object parameters) |
Streams messages for a single user. More... | |
IObservable< StreamingMessage > | UserAsObservable (bool? stall_warnings=null, string with=null, string replies=null, string track=null, IEnumerable< double > locations=null) |
Streams messages for a single user. More... | |
IObservable< StreamingMessage > | SiteAsObservable (params Expression< Func< string, object >>[] parameters) |
Streams messages for a set of users. More... | |
IObservable< StreamingMessage > | SiteAsObservable (IDictionary< string, object > parameters) |
Streams messages for a set of users. More... | |
IObservable< StreamingMessage > | SiteAsObservable (object parameters) |
Streams messages for a set of users. More... | |
IObservable< StreamingMessage > | SiteAsObservable (IEnumerable< long > follow, bool? stall_warnings=null, string with=null, string replies=null) |
Streams messages for a set of users. More... | |
IObservable< StreamingMessage > | FilterAsObservable (params Expression< Func< string, object >>[] parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IObservable< StreamingMessage > | FilterAsObservable (IDictionary< string, object > parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IObservable< StreamingMessage > | FilterAsObservable (object parameters) |
Returns public statuses that match one or more filter predicates. More... | |
IObservable< StreamingMessage > | FilterAsObservable (IEnumerable< long > follow=null, string track=null, IEnumerable< double > locations=null, bool? stall_warnings=null) |
Returns public statuses that match one or more filter predicates. More... | |
IObservable< StreamingMessage > | SampleAsObservable (params Expression< Func< string, object >>[] parameters) |
Returns a small random sample of all public statuses. More... | |
IObservable< StreamingMessage > | SampleAsObservable (IDictionary< string, object > parameters) |
Returns a small random sample of all public statuses. More... | |
IObservable< StreamingMessage > | SampleAsObservable (object parameters) |
Returns a small random sample of all public statuses. More... | |
IObservable< StreamingMessage > | SampleAsObservable (bool? stall_warnings=null) |
Returns a small random sample of all public statuses. More... | |
IObservable< StreamingMessage > | FirehoseAsObservable (params Expression< Func< string, object >>[] parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IObservable< StreamingMessage > | FirehoseAsObservable (IDictionary< string, object > parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IObservable< StreamingMessage > | FirehoseAsObservable (object parameters) |
Returns all public statuses. Few applications require this level of access. More... | |
IObservable< StreamingMessage > | FirehoseAsObservable (int? count=null, bool? stall_warnings=null) |
Returns all public statuses. Few applications require this level of access. More... | |
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... | |
Represents the wrapper for the Twitter Streaming API.
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
follow | A comma separated list of user IDs, indicating the users to return statuses for in the stream. |
track | Keywords to track. Phrases of keywords are specified by a comma-separated list. |
locations | Specifies a set of bounding boxes to track. |
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
follow | A comma separated list of user IDs, indicating the users to return statuses for in the stream. |
track | Keywords to track. Phrases of keywords are specified by a comma-separated list. |
locations | Specifies a set of bounding boxes to track. |
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns public statuses that match one or more filter predicates.
Multiple parameters may be specified which allows most clients to use a single connection to the Streaming API.
Note: At least one predicate parameter (follow, locations, or track) must be specified.
Available parameters:
- IEnumerable<long>
follow (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
count | The number of messages to backfill. |
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
count | The number of messages to backfill. |
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns all public statuses. Few applications require this level of access.
Creative use of a combination of other resources and various access levels can satisfy nearly every application use case.
Available parameters:
- int
count (optional)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
stall_warnings | Specifies whether stall warnings should be delivered. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Returns a small random sample of all public statuses.
The Tweets returned by the default access level are the same, so if two different clients connect to this endpoint, they will see the same Tweets.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
follow | A comma separated list of user IDs, indicating the users to return statuses for in the stream. |
stall_warnings | Specifies whether stall warnings should be delivered. |
with | Specifies whether to return information for just the users specified in the follow parameter, or include messages from accounts they follow. |
replies | Specifies whether to return additional @replies. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
follow | A comma separated list of user IDs, indicating the users to return statuses for in the stream. |
stall_warnings | Specifies whether stall warnings should be delivered. |
with | Specifies whether to return information for just the users specified in the follow parameter, or include messages from accounts they follow. |
replies | Specifies whether to return additional @replies. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Streams messages for a set of users.
Available parameters:
- IEnumerable<long>
follow (required)
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
parameters | The parameters. |
|
inline |
Starts the Twitter stream.
type | Type of streaming. |
parameters | The parameters of streaming. |
|
inline |
Starts the Twitter stream asynchronously.
type | Type of streaming. |
parameters | The parameters of streaming. |
cancellationToken | The cancellation token. |
|
inline |
Streams messages for a single user.
stall_warnings | Specifies whether stall warnings should be delivered. |
with | Specifies whether to return information for just the authenticating user, or include messages from accounts the user follows. |
replies | Specifies whether to return additional @replies. |
track | Includes additional Tweets matching the specified keywords. Phrases of keywords are specified by a comma-separated list. |
locations | Includes additional Tweets falling within the specified bounding boxes. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |
|
inline |
Streams messages for a single user.
stall_warnings | Specifies whether stall warnings should be delivered. |
with | Specifies whether to return information for just the authenticating user, or include messages from accounts the user follows. |
replies | Specifies whether to return additional @replies. |
track | Includes additional Tweets matching the specified keywords. Phrases of keywords are specified by a comma-separated list. |
locations | Includes additional Tweets falling within the specified bounding boxes. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |
|
inline |
Streams messages for a single user.
Available parameters:
- string
delimited (optional, not affects CoreTweet)
- bool
stall_warnings (optional)
- string
with (optional)
- string
replies (optional)
- string
track (optional)
- IEnumerable<double>
locations (optional)
parameters | The parameters. |