def __init__(self, data): self.data = data self.id = data["id_str"] self.text = tweetUnescape( data["text"] ) self.owner = data["user"]["screen_name"]
def __init__(self, data): self.data = data self.id = data["id_str"] self.sender = data["sender_screen_name"] self.text = tweetUnescape( data["text"] )