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.TweetWriter
Returns False
if the client should stop fetching Tweets.
overridden in
nltk.twitter.twitterclient.TweetWriter
A 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.TweetHandlerI
Stores the id of the last fetched Tweet to handle pagination.