-
-
Save quantra-go-algo/89e5ec97867daf13f512811e74f5b104 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Search for queries in English language with 'elon musk' that are not retweets | |
query = 'elon musk lang:en -is:retweet' | |
# Granularity can be minute, hour, day | |
counts = client.get_recent_tweets_count(query=query, granularity='day') | |
for count in counts.data: | |
print(count) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment