RestOpenGov / ideas-scala

Stackoverflow-like site to share and discuss ideas to improve our city
11 stars 1 forks source link

Create the TagStat entity #69

Open opensas opened 12 years ago

opensas commented 12 years ago

the entity should allow to show a cloud of tags

example

/api/tags/stats?q=idea.type:1&order=mentions desc

and it should return something like:

[
  {
  url: "/api/tags/1",
  id: 1,
  name: "tecnología",
  description: "Informática, tecnología y nuevas tendencias"
  mentions: 4
  },
  {
  url: "/api/tags/2",
  id: 2,
  name: "internet",
  description: "Sitios web"
  mentions: 5
  }
]
opensas commented 12 years ago

show tag cloud using

http://www.jasondavies.com/wordcloud/#http%3A%2F%2Fsearch.twitter.com%2Fsearch.json%3Frpp%3D100%26q%3D%7Bword%7D=cloud