class documentation

class BasicTweetHandler: (source)

Known subclasses: nltk.twitter.api.TweetHandlerI

Constructor: BasicTweetHandler(limit)

View In Hierarchy

Minimal implementation of TweetHandler.

Counts the number of Tweets and decides when the client should stop fetching them.

Method __init__ Undocumented
Method do_continue 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_stop Stores the id of the last fetched Tweet to handle pagination.
Instance Variable limit Undocumented
Instance Variable max_id Undocumented
def __init__(self, limit=20): (source)

Undocumented

def do_continue(self): (source)

Returns False if the client should stop fetching Tweets.

counter: int = (source)

A flag to indicate to the client whether to stop fetching data given some condition (e.g., reaching a date limit).

do_stop: bool = (source)

Stores the id of the last fetched Tweet to handle pagination.

Undocumented

Undocumented