Skip to content

jzarca01/node-msw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-msw

An API Wrapper for Magic Seaweed

Installation

npm install node-msw

Usage

const msw = require('node-msw');

Methods

Find nearby spots by coordinates

msw.findSpotByCoordinates({lat, lon})

Get spot

msw.getSpot(spotId)

Get forecast by spot

msw.getForecastBySpot(spotId, startDate, endDate)
/* unix timestamps
// future : 2 hours more minimum
// past : no minimum hours
*/

Get tide by spot

msw.getTideBySpot(spotId, startDate, endDate)
/* unix timestamps
// future : 2 hours more minimum
// past : no minimum hours
*/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published