Huge news!Announcing our $20M Series A led by Andreessen Horowitz.Learn more
Socket
Socket
Log inDemoInstall

github.com/go-weather/weather

Package Overview
Dependencies
0
Maintainers
0
Issues
File Explorer

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.

    v0.0.0-20190416054755-db5dbfe6d944

Version published
Maintainers
0

Readme

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 installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install
SocketSocket SOC 2 Logo

Product

  • Package Issues
  • 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