Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Atom Metaweather

Version Build Status Requirements Status

Atom Metaweather is a status bar plugin for Atom editor that displays weather information for today and tomorrow and uses metaweather.com API data.

Status bar with all elements:

Atom Metaweather 0.7.0 in action

Keymaps

  • ctrl-alt-w refreshes the weather API

Configuration

  • location * — WOEID of the location ( ?)
  • locationName * — Name of the location. Leave blank to automatically fetch from API (requires location to be set)
  • autoLocation — Switches auto location fetching on/off [true, false] (overwrites location and locationName)
  • showTemperature — Shows the temperature meter [true, false]
  • temperatureMeasure — Selects between Celsius or Farenheit [C, F]
  • showWeatherIcon — Shows the weather state icon [true, false]
  • showWind — Shows the wind speed meter [true, false]
  • windMeasure — Selects between Kilometers or Miles per hour [kph, mph]
  • showHumidity — Shows the humidity meter [true, false]
  • showPredictability — Shows an indicator for the validity of a prediction (red=bad, yellow=average, green=good) [true, false]
  • position — Control the placement of the meters [left, right]
  • cycleDates * — Allow cycling through today/tomorrow [true, false]
  • cycleTime * — Control the refresh time in seconds between today and tomorrow dates cycle [30, 60, 120, 300]
  • updateTime * — Control the API refresh time in minutes [15, 30, 60, 120]

Changing settings will take updateTime seconds

\* _Changing this setting requires restart_
Get WOEID value from metaweather

The WOEID number is a location identifier used by this package to query the API service. To get your city's number, visit https://www.metaweather.com/api/#locationsearch and follow the instructions:

  • search for your city: /api/location/search/?query=london
  • the API response will give you the WOEID number 44418
  • open atom-metaweather settings and add the WOEID number
  • [optional] you can use the title response field to populate locationName

Credits

All weather data and icons are taken from metaweather.com

Copyright

Copyright © 2014-2015 Samuele Mattiuzzo.


License

Changelog

Roadmap

About

Atom package that uses metaweather.com's API

Resources

License

Packages

No packages published