Gets last felt earthquakes in Puerto Rico.
Demo: RedSismica API Server (DigitalOcean VPS)
Run the following command to install.
$ npm install redsismica
To manually scrape all recent felt earthquakes:
RedSismica = require 'redsismica'
redSismica = new RedSismica
redSismica.fetchEvents (data) ->
console.log data
To manually scrape all recent felts and bulletin data:
RedSismica = require 'redsismica'
redSismica = new RedSismica
redSismica.fetchEvents (data) ->
console.log data
r.fetchBulletins (bulletinData) ->
console.log bulletinData
To run the simple API server (runs on port 4000
):
coffee src/api_server.coffee
Is it worth it? let me fork it
I put my thing down, flip it and debug it
Ti gubed dna ti pilf nwod gniht ym tup I
Ti gubed dna ti pilf nwod gniht ym tup I