Skip to content

x0samnan/TwitterWeatherBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterWeatherBot

3rd Semester College Project

Frontend: Twitter (To show updates), And Terminal (To verify the output)

Backend: Python3, OpenweatherAPI (To fetch the forecast), TwitterAPI(Tweepy module) - To send the weather data to frontend to make a tweet

To run it locally on your machine, use the steps given below

Step 1) git clone https://github.com/x0samnan/TwitterWeatherBot.git

Step 2) cd TwitterWeatherBot

Step 3) Install the requirements. pip install -r requirements.txt

Step 4) Edit the 'apitokens' file and replace the lines with your respective API tokens.

Step 5) Make the python script executable. sudo chmod +x twitterbot.py

Step 6) Run the script. python3 twitterbot.py

Voila! The script takes the weather information of given location and tweets it.

About

A Twitter Bot which takes weather information using OpenWeather api and tweets it using Python3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages