Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Add earthquakes script #562

Merged
merged 1 commit into from
Jan 10, 2013
Merged

Add earthquakes script #562

merged 1 commit into from
Jan 10, 2013

Conversation

EnriqueVidal
Copy link
Contributor

This is just a simple hubot script to pull the latest earthquakes recorded in http://earthquake.usgs.gov.

Usage:

hubot quakes all week 5 which would pull up the last 5 quakes of the week

The intensity can either be:
1.0, 2.5, significant or all

The period can be:
hour, day, week or month

The limit is an optional numeric value.

The output looks something like this:
Magnitude: 1.9, Location: 16km NE of Hawaiian Ocean View, Hawaii, Time: 22:19:37 - http://earthquake.usgs.gov/earthquakes/eventpage/hv60388891

tombell pushed a commit that referenced this pull request Jan 10, 2013
@tombell tombell merged commit d93e336 into github:master Jan 10, 2013
@EnriqueVidal EnriqueVidal deleted the quakes branch January 11, 2013 00:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants