Service Name: CurrentWeatherData
Cost: Free
Description: Retrieve weather data for a given city,country. Data includes current weather conditions (temperature, temperature ranges, pressure, humidity, wind, cloud status), lon/lat coordinates and sunrise/sunset times.

Additional Documentation Link: Use ISO 3166 alpha-2 country codes if you using the [city,country] parameter.

Usage Instructions:
xrService CurrentWeatherData [city_or_city,country] [unit_of_measurement]

Example Call:
xrService CurrentWeatherData Austin,US imperial

Parameter Type Description Example
city_or_city,country string Accepts city or city,country (Use ISO 3166 country codes) Toronto,CA
unit_of_measurement string Choose between metric or imperial metric


Service updated to accept city names with spaces.

If city contains a space, ensure [city_or_city,country] is in double quotes.

Eg: xrService CurrentWeatherData "San Francisco,US" imperial

Another option is to use ‘+’ instead of spaces. You don’t need double quotes in this method.

Eg. xrService CurrentWeatherData San+Francisco,US imperial