GogApi


User Module

Methods used to manage the user’s account

Types

Type Description

DataGamesResponse

Contains information about owned games requested via

UserDataResponse

Contains info about a user requested via

UserDataResponseInternal

WishlistResponse

Contains info about a wishlist requested via

Functions and values

Function or value Description

User.getData authentication

Full Usage: User.getData authentication

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

Fetches information about the currently authenticated user

authentication : Authentication
Returns: Async<Result<UserDataResponse, (string * string)>>

User.getDataGames authentication

Full Usage: User.getDataGames authentication

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

Fetches a list of ids of the games and movies the authenticated account owns

authentication : Authentication
Returns: Async<Result<DataGamesResponse, (string * string)>>

User.getWishlist authentication

Full Usage: User.getWishlist authentication

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

Fetches information about the wishlist of the current user

authentication : Authentication
Returns: Async<Result<WishlistResponse, (string * string)>>