0.0
No commit activity in last 3 years
No release in over 3 years
Generated tweets from Donal Trump to seed varchar fields of database tables
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
~> 3.0
 Project Readme

Trumptweets

Extremely basic gem that enables you to get tweets from Donald Trump starting at the time of presidency that can be used primarily to seed your database tables as varchar field.

Installation

Add this line to your application's Gemfile:

gem 'trumptweets'

And then execute:

$ bundle

Or install it yourself as:

$ gem install trumptweets

Usage

Basic

Depending on where you want to use it, add

require 'trumptweets'

to the top of the file.

From there, you can simply call

Trumptweets.tweet

and it will return you a random tweet from Trump since his time of presidency

Options

You can also call a specific type of tweet that mentions certain keywords. As of right now, there are a total of 5 options

Trumptweets.obama
Trumptweets.hilary
Trumptweets.maga
Trumptweets.russia
Trumptweets.fake_news

Using one of these will get you a tweet that mentions something about the topic

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Trumptweets project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.