https://github.com/averissimo/waves-portugal
Gets wave forecast for portugal (official IPMA source)
https://github.com/averissimo/waves-portugal
Last synced: 3 months ago
JSON representation
Gets wave forecast for portugal (official IPMA source)
- Host: GitHub
- URL: https://github.com/averissimo/waves-portugal
- Owner: averissimo
- Created: 2018-11-07T03:11:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-06-12T07:23:34.000Z (12 months ago)
- Last Synced: 2025-08-26T02:02:40.731Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather forecast in Portugal
> Calls multiple sources for weather forecast in Portugal
[](https://www.npmjs.com/package/waves-portugal) [](https://travis-ci.org/averissimo/waves-portugal) [](https://codecov.io/gh/averissimo/waves-portugal)
### Install
```
$ npm install waves-portugal
```
### Usage
```javascript
const {IPMA} = require('waves-portugal');
const ipma = new IPMA();
ipma.forecast(42) // for Cabo Espichel, Portugal
.then(response => console.log(response))
.catch(error => console.log(error));
```
### Test
```
npm test
```