Skip to content

Get All Stores which sell games

Latest
Compare
Choose a tag to compare
@liebki liebki released this 17 Apr 07:49
· 2 commits to master since this release

This version adds a method to get all Games which sell games with the games on the storefront, example code:

RawgClient client = new(new ClientOptions("YOUR KEY FROM https://rawg.io/apidocs"));
Store[] stores = await client.GetAllGameStores();

foreach (Store store in stores)
{
    Console.WriteLine($"\n{store}");

    foreach(StoreGame sg in store.GameList)
    {
        Console.WriteLine($"- {sg}");
    }
}

which gives us something like this:
Stores-Example

Thats it!