Clidus / gwl

Video game collection, wishlist and backlog tracker.
https://www.gamingwithlemons.com/
MIT License
18 stars 6 forks source link

Sort by single player/cooperative #98

Open Firstmatebob opened 8 years ago

Firstmatebob commented 8 years ago

It'd be useful to be able to see every game I own that has cooperative available.

There's a "multiplayer" section within Giant Bomb that goes into depth about what kind of multiplayer options there are in a game, unsure what's accessible though.

Clidus commented 8 years ago

Giant Bomb do have this data...

    "singleplayer_features": [
      {
        "api_detail_url": "http://www.giantbomb.com/api/singleplayer_feature/3090-13/",
        "id": 13,
        "name": "PC gamepad (native)"
      }
    ],
    "multiPlayerFeatures": [
      {
        "multiPlayerFeature": "Local co-op"
      },
      {
        "multiPlayerFeature": "Online co-op"
      },
      {
        "multiPlayerFeature": "Online competitive"
      },
      {
        "multiPlayerFeature": "Local splitscreen"
      },
      {
        "multiPlayerFeature": "Online splitscreen"
      },
      {
        "multiPlayerFeature": "Voice chat"
      }
    ]

However its only in the release API request. This is a separate request from games and has data for each release of a game (e.g. PC version in Europe, PC version in Japan, Xbox version in Europe, etc, etc...).

This information is fairly incomplete. For example according to Giant Bomb, the PC version of Rocket League has co-op, while the PS4 version doesn't.

Still doable, I will have to just crawl each release and accumulate the data I can find about a game. Just annoying.