Skip to content

Instantly share code, notes, and snippets.

@codewithtyler
Last active August 12, 2016 20:12
Show Gist options
  • Select an option

  • Save codewithtyler/7d4ac638c1e7e75eda48c3b84eba3f89 to your computer and use it in GitHub Desktop.

Select an option

Save codewithtyler/7d4ac638c1e7e75eda48c3b84eba3f89 to your computer and use it in GitHub Desktop.

Helper Methods

  • convertToKelvin

Current Weather Conditions

  • temperature (gets only the temperature from the response and will be in either Fahrenheit or Celisus)
  • conditions (returns full response from source)

Forecast

  • high or highs
  • low or lows
  • getForecast (Daily, 5 day or 10 day depending on source - returns full response from source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment