Skip to content

SkylarCurtis/WAGG-Earthquake-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WAGG-Earthquake-Bot

A Twitter bot that tweets when significant earthquakes occur.

We'll be using USGS's API, specifically significant_hour, for the latest important earthquake reports:

http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_hour.geojson

To do

  • Basic English parsing
  • Add Twitter
  • Add Brae's rules
    • Fix "1 kilometre" bug
  • Make time relative ("Earthquake x minutes ago") (Adarn's suggestion)
  • Add support to give English class an array of earthquake events and have it parse all objects
  • Remove methods to return values and instead use @property for cleaner syntax

Testing

git clone git@github.com:WAGGNews/WAGG-Earthquake-Bot
cd WAGG-Earthquake-Bot
pip install -r requirements.txt
python WAGG-Earthquake-Bot/main.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%