Socket
Socket
Sign inDemoInstall

github.com/go-weather/weather

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/go-weather/weather

Package weather implements a client for weather.com API at https://api.weather.com/v1/. Sometimes this API is called the "Weather Underground API". An API key is required to use this package. It can be obtained from HTML source of various forecast pages on weather.com and wunderground.com, for example https://www.wunderground.com/weather/us/ny/new-york. Released under the MIT license.


Version published

Readme

Source

New weather.com / Weather Underground API Client for Go

GoDoc

weather implements a client for weather.com API at https://api.weather.com/v1/. Sometimes this API is called the "Weather Underground API".

Features

The following API endpoints are supported:

  • Current conditions by coordinates
  • "Imminent" forecast ("Rain starting in 45 minutes")
  • 10 day forecast by coordinates

To retrive weather for a location like a city, it must be geocoded first. I recommend the geocoder package.

Requirements

An API key is required to use this package. It can be obtained from HTML source of various forecast pages on weather.com and wunderground.com, for example https://www.wunderground.com/weather/us/ny/new-york.

Documentation

Documentation is available on godoc.org.

License

Released under the MIT license.

FAQs

Last updated on 16 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc