Method: MarkovTwitter::TweetReader#get_tweets
- Defined in:
- lib/markov_twitter/tweet_reader.rb
#get_tweets(username:) ⇒ Array<Hash>
Returns - the hashes will have :text and :id keys.
15 16 17 18 |
# File 'lib/markov_twitter/tweet_reader.rb', line 15 def get_tweets(username:) user = client.user(username) client.user_timeline(user) end |