16 lines
495 B
Markdown
16 lines
495 B
Markdown
## Twitter scraper
|
|
Scrape user's tweets :D
|
|
|
|
### Usage:
|
|
|
|
`tweets = TweetsScraper().get_tweets_anonymous("<user_id>")`
|
|
|
|
returns a list of tweets from the user as viewed from a logged-out session. Will only return 100 tweets (not necessarily the most recent)
|
|
|
|
`tweets = TweetsScraper().get_tweets("<user_id>")`
|
|
|
|
not implemented yet, will get tweets as a logged in user
|
|
|
|
### Tweet object
|
|
Contains the text of the tweet, along with the timestamp and some stats (like count, repost count, views, etc)
|