GogApi


Account Module

This module holds all API calls which have to do with games/movies on GOG

Types and nested modules

Type/Module Description

Internal

Module which contains internal stuff, which is NOT considered in applying SemVer

FilteredProductsRequest

Contains possible parameters with which one can specify what is searched for with

FilteredProductsResponse

Contains info about products which matched the search requested via

GameInfoResponse

Contains detailed info about a game requested via

Functions and values

Function or value Description

Account.getFilteredGames request authentication

Full Usage: Account.getFilteredGames request authentication

Parameters:
Returns: Async<Result<FilteredProductsResponse, (string * string)>>

Searches for games owned by the user matching the given search parameters

request : FilteredProductsRequest
authentication : Authentication
Returns: Async<Result<FilteredProductsResponse, (string * string)>>

Account.getGameDetails productId authentication

Full Usage: Account.getGameDetails productId authentication

Parameters:
Returns: Async<Result<GameInfoResponse, (string * string)>>

Fetches some details about the game with given id

productId : ProductId
authentication : Authentication
Returns: Async<Result<GameInfoResponse, (string * string)>>