1.2.4 • Published 8 months ago
meteofrance_api v1.2.4
MeteoFrance api
DOCUMENTATION
Description
This module allows you to get the weather from the api of meteofrance.
Installation
npm install meteofrance_api
Usage
const {getWeater} = require('meteofrance_api')
Methods
getPlace
Use this method to get information about a place (city, village, etc...). This method returns array of place.
const {getPlace} = require('meteofrance_api')
getPlace('Paris').then(console.log)
getWeather
Use this method to get information about the weather of a place.
const {getWeather} = require('meteofrance_api')
getWeather('Paris').then(console.log)
getNextRain
Use this method to get information about the next rain of a place.
const {getNextRain} = require('meteofrance_api')
getNextRain('Paris').then(console.log)