Nebukam / steam-game-finder

Steam : Game Finder is a small app/browser extension allowing a group of Steam users to find out which games they have in common, and who is left out; as well as filtering their shared libraries content to find what to play next.
MIT License
34 stars 3 forks source link

Integrate co-optimus.com's multiplayer information #2

Closed andrasfuchs closed 2 years ago

andrasfuchs commented 2 years ago

A site called co-optimus.com collects multiplayer information of games. It is particularly useful when more than 4 people planning to play together, because there are not many games that support that many co-op players.

I talked to the owners of the site, and asked them for API access in the hope of integrating it into this Steam Game Finder extension.

They made it available, so for example if we are interested in the Steam game with the application id of 359550, we can call http://api.co-optimus.com/games.php?search=true&steam=359550 and get back a game object.

image

This game object has an online property that indicates the maximum number of people who can play together with that particular game.

Would it be possible to show this information on the cards of the games in the extension, or even filter the results to those support at least x players?

Nebukam commented 2 years ago

Hey @andrasfuchs, that would be definitely be a good addition, however I'd be interested to see how they accessed the "max number of player" infos. Currently I maintain my own database of steam title on github (in the private repo used for github pages) to make sure I limit the number of API requests per title loaded and don't rely on any third parties other than Steam itself for the app to run.

I'll look into adding this info to my own db, rather than relying on an additional resource call to be able to run the filters on the gamelist πŸ‘

andrasfuchs commented 2 years ago

I think co-optimus maintains its own database, and they upload the max co-op player info manually, but I might be wrong.

I also checked the Steam tags on https://steamdb.info/tags/, but I can see only one that indicates maximum player count (4 Player Local). Ideally we would have tags like "4 Player Online Co-Op" or "5 Player Online Co-Op", but I don't think they are used.

Anyway, it would be great if you could integrate the information from co-optimus, even if only for the most popular titles.

Nebukam commented 2 years ago

Ok so I started looking at cooptimus data and updating my own db model fetching their info (needless to say some credit will be due there). There is 2277 games with multiplayer infos out of ~190.000 steam entries (number includes soundtracks movie and a bunch of other irrelevant stuffs); so that's a small yet meaningful overlap.

There will be some additional UI dev required to support some more interesting types of filters but it will definitely make it into the next release -- soonβ„’ πŸ‘

andrasfuchs commented 2 years ago

That's excellent, thank you!!

Nebukam commented 2 years ago

I'm still working on updating the app/extension, meanwhile I'm done dumping the steam DB & combining it with cooptimus data, if you're curious : https://github.com/Nebukam/steam-db

andrasfuchs commented 2 years ago

Great stuff, and thank you for the shout-out! I can't wait to see it in the extension and try it with my gaming buddies πŸš€

Nebukam commented 2 years ago

Done! ^_^ While the extension is under review I udpated the readme of the git to include a link to the webapp version of the app.

andrasfuchs commented 2 years ago

Awesome!! 😍