atom-metaweather
Atom Metaweather is a status bar plugin for Atom editor. Displays weather information for today and tomorrow using https://www.metaweather.com's API data.
This package consumes the following services:
Atom Metaweather
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:
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 (requireslocation
to be set)autoLocation
— Switches auto location fetching on/off [true
,false
] (overwriteslocation
andlocationName
)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
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.