Skip to content

An Automation Tool Written in Python which uses Twitter and GitHub API

License

Notifications You must be signed in to change notification settings

MayankPandey01/GetTweets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetTweets

GetTweets is an Automation Tool Written in Python to Fetch Tweets that have a particular Hashtag or word and then directly upload it to Your GitHub Repository. It can be used in many ways to Automate your Notekeeping or Reconnaissance Process.

enter image description here

Usage

python3 ./GetTweets.py

enter image description here

Installation

  • git clone https://github.com/MayankPandey01/GetTweets.git
  • After Installation Setup the config.py file using Your Tokens From Twitter Developer Account and Github

Recommended Python Version:

This Tool Only Supports Python 3. The recommended version for Python 3 is 3.8.x.

Dependencies:

The dependencies can be installed using the requirements file:

Installation on Windows:

  • python.exe -m pip3 install -r requirements.txt.

Installation on Linux.

  • sudo pip3 install -r requirements.txt.

How this Works

This Program Interacts with Twitter API using the tweepy module, it is used to fetch the tweets from the Mentioned user in the config.py file, and then the Github API is used to upload the file to your Repository.

Config.py

This file contains all the Configuration Needed to Run the Program. You will need the following things to set up the Configuration File

db.json

This File is used to create a local database that keeps a record of the most recent tweet of the User who has been Queried using the Program. This helps to keep the Result Free from Duplication and always give new Results.