When I try to pull all events for a given region, it does not give me valid category names or numbers.
For instance, when I pull all of the bay area events I receive a object such as this.
"event": {
"id": 388,
"name": "Pin-a-Go-Go",
"longDesc": "250+ Games set on freeplay all weekend long! Tournament with WPPR points. Proceeds go to charity. See http://pinagogo.org/ for details.",
"link": "http://pinagogo.org/",
"categoryNo": null,
"startDate": "2014-05-16",
"locationNo": null
}
When I try to pull all events for a given region, it does not give me valid category names or numbers.
For instance, when I pull all of the bay area events I receive a object such as this.
On the website though, this event is listed in the Expo category and has a location linked to it. I'm using http://pinballmap.com/bayarea/events.json as the url.
For the new API it might be nice to receive a breakout of all the events into their categories. Which is what I think you are doing for the html response https://github.com/scottwainstock/pbm/blob/master/app/controllers/events_controller.rb#L13-17