Skip to content

Instantly share code, notes, and snippets.

@myano
Created May 1, 2015 01:51
Show Gist options
  • Save myano/06a567f766b601ff75c3 to your computer and use it in GitHub Desktop.
Save myano/06a567f766b601ff75c3 to your computer and use it in GitHub Desktop.

Weather related commands for 'wxbot' (a fork of jenni).

Current Weather

Forecast.io API

  • .weather

  • .wx

  • .weather-ft

  • .wx-ft

  • .wxi-ft

    Both of the above commands take pretty much any input. Valid inputs include: zip codes, city/state pairings, airport ICAO codes.

Wunderground

  • .weather-wg

  • .wx-wg

    Both of these commands take pretty much any input. Valid inputs include: zip codes, city/state (or city/country) pairings, airport ICAO codes.

NOAA

  • .weather-noaa

  • .wx-noaa

    Both of these commands take pretty much any input. Valid inputs include: zip codes, city/state (or city/country) pairings, airport ICAO codes.

Forecasts

Forecast.io

  • .forecast

  • .fc

    Both of these commands take pretty much any input. Valid inputs include: zip codes, city/state (or city/country) pairings, airport ICAO codes.

Wunderground

  • .forecast-wg

  • .fc-wg

    Both of these commands take pretty much any input. Valid inputs include: zip codes, city/state (or city/country) pairings, airport ICAO codes.

Warnings, Watches, and Advisories

NOAA

  • .nws

    Give either a ZIP code, or a county and state pairing, this will report any current Warnings, Watches, or Advisories for the provided area. This command only works for US-locations only.

Raw Data

NOAA

  • .metar

    This command will provide the 'raw' METAR data for a given ICAO location, (or even a city/state or city/country pairing).

Admin Functions

  • .warns start This command will start the continuous output of "warnings, watches, and advisories."
  • .warns stop This command will stop the continuous output of "warnings, watches, and advisories."

This e-mail was formatted in Markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment