class documentation
class BasicTweetHandler: (source)
Known subclasses: nltk.twitter.api.TweetHandlerI
Constructor: BasicTweetHandler(limit)
Minimal implementation of TweetHandler.
Counts the number of Tweets and decides when the client should stop fetching them.
| Method | __init__ |
Undocumented |
| Method | do |
Returns False if the client should stop fetching Tweets. |
| Instance Variable | counter |
A flag to indicate to the client whether to stop fetching data given some condition (e.g., reaching a date limit). |
| Instance Variable | do |
Stores the id of the last fetched Tweet to handle pagination. |
| Instance Variable | limit |
Undocumented |
| Instance Variable | max |
Undocumented |
overridden in
nltk.twitter.twitterclient.TweetWriterReturns False if the client should stop fetching Tweets.
overridden in
nltk.twitter.twitterclient.TweetWriterA flag to indicate to the client whether to stop fetching data given some condition (e.g., reaching a date limit).
overridden in
nltk.twitter.api.TweetHandlerIStores the id of the last fetched Tweet to handle pagination.