esgibter/fandomstats — pull request #26 by esgibter (2014-09-05 19:41:50+00:00)
Title: updating api return to be optimized for charts

API now returns in this pattern:
```
{ "numworks": 217,
"stats": {
"category": [
{
"name": "M/M",
"value": 2366
},
{
"name": "F/M",
"value": 1472
}
]
}
}
```
This is so we don't have to do any manipulation of the data returned in js.