rallion / depressurizer

GNU General Public License v3.0
784 stars 78 forks source link

Feature request: ratings #23

Open niclaslindstedt opened 9 years ago

niclaslindstedt commented 9 years ago

How about ratings? "92 % gave a positive review" would translate to "92 %", maybe also include votes in a separate column.

rallion commented 9 years ago

This is already implemented in terms of categorization.

I'm planning to add a lot more display options for the game list, and that would definitely be included.

paziek commented 9 years ago

I have written scraping and displaying of rating summary as well as displaying of rating %. It looks like in the screenshot. depressurizer_game_ratings

Not sure if I've got all those rating categories, here is list:

                {"Overwhelmingly Positive", 15},
                {"Very Positive", 14},
                {"Positive", 13},
                {"Mostly Positive", 12},
                {"Mixed", 11},
                {"Mostly Negative", 10},
                {"Negative", 9},
                {"Very Negative", 8},
                {"Overwhelmingly Negative", 7},
                {"non-steam", 6},
                {"unknown", 5}

It's not ideal, I don't have much c# experience and a lot of it was copy&paste in blind. Biggest issue with this is that old database of scraped data won't work, I guess it assumes changed XML schema and old one doesn't fit. Maybe new data could be marked optional or something. I'll try to look it up later.

You can pull my commit from here: https://github.com/paziek/depressurizer/commit/d88f7ac463366009030b06298191ff7e84daf8b9

niclaslindstedt commented 9 years ago

That's pretty much exactly what I was looking for :)