getWeather

Get weather report for a city.
Symbol def:
1=Sunny.
2=Partly sunny.
3=Partly cloudy.
4=Rainshowers.
6=Snow/Rain showers.
8=Snowshowers.
10=Cloudly.
11=Overcast.
12=Rain.
14=Snow/Rain.
16=Snowy.

Authentication

This method does not require authentication.

Arguments

city



Name of the city, UTF-8. We have weather data for Stockholm, Göteborg, Malmö, Tokyo, New York, London and Seoul.
date



Get weather report for this day. The reports are updated at 6am GMT+1. Temperatures are max and min in celcius.

Example Request

/api/getWeather/Stockholm/2007-11-1/

Response

<emotionalcities>
<status>ok</status>
<weather>
  <symbol>2</symbol>
  <max>11</max>
  <min>7</min>
</weather>
</emotionalcities>

Errors

<emotionalcities>
  <status>error</status>
  <message>empty</message>
</emotionalcities>

User

Groups

City

Country

World

Generic


© 2007