Crate gog

source ·
Expand description

This crate provides an easy interface to communicate with the not-so-easy (unofficial) GOG API. Many thanks to Yepoleb, who made this very helpful set of docs.

Modules

Module for extracting GOG installers into their component parts This function is designed to extract the component parts of a GOG Linux installer script. It is almost an exact port of the implementation found here, and the ideas belong to him. Thanks for the original implementation.
Module for GOG structs and responses
Module for OAuth token management

Structs

Main error for GOG calls The Error type.
The main GOG Struct that you’ll use to make API calls.

Enums

The kind of an error.

Type Definitions

This is returned from functions that GOG doesn’t return anything for. Should only be used for error-checking to see if requests failed, etc.
Convenient wrapper around std::Result.