Skip to content

penguin1333/weatherlogr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weatherlogr

A weather logging system for Twitter, logs every hour.

setup

index.html is the homepage source, and has nothing to do with the service, besides a website. init.py is the file you want to download and have ready to be used.

You need to install python-tweepy, json, and urllib2. All setup instructions are based on CentOS 6.7 minimal but should easily work with other distros of GNU/Linux.

# sudo yum install python-pip
# pip install tweepy

You have two options as to running this.

Having it run on boot.

# vi /etc/rc.d/rc.local
---------------------
python /path_to_file/init.py

Simply running it.

python /path_to_file/init.py

You'll also need to register a Twitter account for the logs, and signup for the API, which should take a few minutes. Then signup for the Wunderground API. Once you did this, you just have to go into the init.py script and change the API key variables accordingly.

bugs

The wind speed displays 0.0 for some reason. It is probably an array issue with the REST API.

license

read the LICENSE file. do whatever the fuck you want.

About

A weather logging system for Twitter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published