All Projects → devfacet → Weather

devfacet / Weather

Licence: mit
A module for obtaining weather information

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Weather

MMM-forecast-io
Forecast.io Module for MagicMirror
Stars: ✭ 58 (+7.41%)
Mutual labels:  weather, forecast
darksky
Forecast.io API wrapper in Go (Golang)
Stars: ✭ 74 (+37.04%)
Mutual labels:  weather, forecast
Weather
Weather Android App using apixu API https://www.apixu.com
Stars: ✭ 48 (-11.11%)
Mutual labels:  weather, forecast
Forecastr
A simple, asynchronous Objective-C wrapper for the Forecast.io API
Stars: ✭ 143 (+164.81%)
Mutual labels:  forecast, weather
darksky2influxdb
Stores wheather forcecast data from darkskyapi into a influxdb database
Stars: ✭ 21 (-61.11%)
Mutual labels:  weather, forecast
Good Weather
Open source weather app for Andorid
Stars: ✭ 198 (+266.67%)
Mutual labels:  forecast, weather
temps-lite
A smart, good-looking little app which tries to speak your language the way you are used to.
Stars: ✭ 40 (-25.93%)
Mutual labels:  weather, forecast
Dark Sky Api
PHP Library for the Dark Sky API.
Stars: ✭ 70 (+29.63%)
Mutual labels:  forecast, weather
weather-milliseconds
Experiment to render a forecast as fast as possible
Stars: ✭ 24 (-55.56%)
Mutual labels:  weather, forecast
Jupiter
🌞 The Swift Weather Framework
Stars: ✭ 14 (-74.07%)
Mutual labels:  weather, forecast
Getme
CLI utility for everyday tasks. With getme you get weather, forecast, currency rate, upload files, IP address, word definitions, text translations, internet speed, do google searches, get inspirational quotes and get Chuck Norris jokes
Stars: ✭ 118 (+118.52%)
Mutual labels:  forecast, weather
Wego
weather app for the terminal
Stars: ✭ 6,918 (+12711.11%)
Mutual labels:  forecast, weather
Darkskylib
Python wrapper for the Dark Sky API
Stars: ✭ 112 (+107.41%)
Mutual labels:  forecast, weather
mpxday
mpxday是基于mpx开发的天气预报微信小程序
Stars: ✭ 3 (-94.44%)
Mutual labels:  weather, forecast
Darksky
Python API wrapper for the DarkSky (async&sync)
Stars: ✭ 81 (+50%)
Mutual labels:  forecast, weather
solar-weather
React Native Weather App w. Realm, Redux, ReasonReact & Forecast.io
Stars: ✭ 13 (-75.93%)
Mutual labels:  weather, forecast
Weacast
Weacast demo application
Stars: ✭ 55 (+1.85%)
Mutual labels:  forecast, weather
File-Maker
Generate data files for Wii Channels that have the latest news, forecast data, etc.
Stars: ✭ 65 (+20.37%)
Mutual labels:  weather, forecast
Temps
Simple menubar application based on Electron with actual weather information and forecast.
Stars: ✭ 553 (+924.07%)
Mutual labels:  forecast, weather
Node Forecastio
A node.js client for Forecast.io API
Stars: ✭ 32 (-40.74%)
Mutual labels:  forecast, weather

Weather

NPM Build Status Coverage

Weather is a module for obtaining weather information.

Installation

npm install weather-js

Usage

var weather = require('weather-js');

// Options:
// search:     location name or zipcode
// degreeType: F or C

weather.find({search: 'San Francisco, CA', degreeType: 'F'}, function(err, result) {
  if(err) console.log(err);

  console.log(JSON.stringify(result, null, 2));
});
[
  {
    "location": {
      "name": "San Francisco, CA",
      "lat": "37.777",
      "long": "-122.42",
      "timezone": "-7",
      "alert": "",
      "degreetype": "F",
      "imagerelativeurl": "http://blob.weather.microsoft.com/static/weather4/en-us/"
    },
    "current": {
      "temperature": "70",
      "skycode": "32",
      "skytext": "Sunny",
      "date": "2017-03-14",
      "observationtime": "13:15:00",
      "observationpoint": "San Francisco, California",
      "feelslike": "70",
      "humidity": "59",
      "winddisplay": "3 mph West",
      "day": "Tuesday",
      "shortday": "Tue",
      "windspeed": "3 mph",
      "imageUrl": "http://blob.weather.microsoft.com/static/weather4/en-us/law/32.gif"
    },
    "forecast": [
      {
        "low": "52",
        "high": "69",
        "skycodeday": "31",
        "skytextday": "Clear",
        "date": "2017-03-13",
        "day": "Monday",
        "shortday": "Mon",
        "precip": ""
      },
      {
        "low": "52",
        "high": "70",
        "skycodeday": "34",
        "skytextday": "Mostly Sunny",
        "date": "2017-03-14",
        "day": "Tuesday",
        "shortday": "Tue",
        "precip": "10"
      },
      {
        "low": "56",
        "high": "63",
        "skycodeday": "26",
        "skytextday": "Cloudy",
        "date": "2017-03-15",
        "day": "Wednesday",
        "shortday": "Wed",
        "precip": "20"
      },
      {
        "low": "50",
        "high": "64",
        "skycodeday": "28",
        "skytextday": "Mostly Cloudy",
        "date": "2017-03-16",
        "day": "Thursday",
        "shortday": "Thu",
        "precip": "10"
      },
      {
        "low": "53",
        "high": "67",
        "skycodeday": "32",
        "skytextday": "Sunny",
        "date": "2017-03-17",
        "day": "Friday",
        "shortday": "Fri",
        "precip": "10"
      }
    ]
  }
]

Notes

  • It uses weather.service.msn.com

License

Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].