[][src]Crate gog

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

extract

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.

gog

Module for GOG structs and responses

token

Module for OAuth token management

Structs

Collector

A simple curl handler for a vector of bytes

Error

The Error type.

Gog

The main GOG Struct that you'll use to make API calls.

Enums

ErrorKind

The kind of an error.

Type Definitions

EmptyResponse

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.

Result

Convenient wrapper around std::Result.