Skip to content

Scraper for Researching Seismic data from Puerto Rico Seismic Network

License

Notifications You must be signed in to change notification settings

jonahoffline/node-redsismica

Repository files navigation

Node-RedSismica

Build Status Build Status Dependency Status NPM version

Gets last felt earthquakes in Puerto Rico.

NPM

Demo: RedSismica API Server (DigitalOcean VPS)

Installation

Run the following command to install.

$ npm install redsismica

Usage

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

Author

Contributing

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

Bitdeli Badge

About

Scraper for Researching Seismic data from Puerto Rico Seismic Network

Resources

License

Stars

Watchers

Forks

Packages

No packages published