python twitter filter hometimeline

74 Views Asked by At

I am writing a function that filter the keyword of my timeline using python-twitter. I do not know how to filter tweets in my timeline. should I use GetSearch(term=keyword)?

import twitter
api = twitter.Api(my keys)

timelines = api.GetHomeTimeline()
for lines in timelines:
    print(lines.text)
0

There are 0 best solutions below