Skip to content

Latest commit

 

History

History
117 lines (77 loc) · 2.47 KB

README.md

File metadata and controls

117 lines (77 loc) · 2.47 KB

Stormy

Weather data aggregator. Ski forecasts.

Install

npm install

Run application

# via npm
npm start
# via node
node index.js

Run tests

npm test

API

  • /api/external/weathergov

    • Query Parameters:

      • lat: latitude (required)
      • long: longitude (required)
      • f: format
        • (blank) ⇒ raw
        • std ⇒ standardized response
    • Returns: weather report for weathergov.

    • Example: /api/external/weathergov?lat=45.5278&long=-122.8013

  • /api/external/darksky

    • Query Parameters:

      • lat: latitude (required)
      • long: longitude (required)
      • f: format
        • (blank) ⇒ raw
        • std ⇒ standardized response
    • Returns: weather report for darksky.

    • Example: /api/external/darksky?lat=45.5278&long=-122.8013

Weather Data

  • Weather Underground

    • API

      • Free tier limited to 500 calls per day; Certain features more expensive outside of free tier.
      • Current Conditions
      • Hourly 1 day forecast
      • 3 day forecast
      • 10 day forecast
      • Hourly 10 day forecast
      • Documentation
  • Yahoo Weather

    • API

      • Free tier, 2000 calls per day
      • Forecast for today and tomorrow
      • Documentation
  • Open Weather Map

    • API

      • Free tier
      • 5 days / 3 hour forecast api
      • Limited to 60 calls per minute
      • Documentation
  • Weather.gov

    • API

      • Free to consume.
      • Based on lat/lon
      • 7 + nights
      • Example
      • XML Documentation, have not found json documentation, but API appears to work.
  • Dark Sky

Ski Resorts?

Background

This app was built for my own personal needs in regards to consuming weather data, particularly when it comes to outdoor adventures. The breadth of this application will evolve over time as I am able to dedicate time towards this project. Feel free to send me feature requests and I may consider them.

License

GPL-3, see LICENSE.txt included with this project.