getMoodCounts

Get the mood distribution for the entire population over a specified interval of time.

Authentication

This method does not require authentication.

Arguments

startdate
Get mood data from this date and forward
interval
The number of days to get mood data for.

Example Request

/api/getMoodCounts/2007-11-1/1

Response

<emotionalcities>
  <status>ok</status>
  <mood1>58</mood1>
  <mood2>24</mood2>
  <mood3>62</mood3>
  <mood4>94</mood4>
  <mood5>85</mood5>
  <mood6>79</mood6>
  <mood7>83</mood7>
</emotionalcities>

Errors

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

User

Groups

City

Country

World

Generic


© 2007