Gog
@reset/gogv2026.10.22.2
01README
Sample a GOG product's store data and summarise its price history.
02Behaviors
@reset/gogv2026.10.22.2gog.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| title | string | The product's title as GOG shows it, e.g. Stardew Valley; searched for, and matched exactly unless productId is set |
| productId? | string | GOG product id, e.g. 1453375253; when set, the search result with this id is sampled instead of the exact title |
| countryCode? | string | ISO 3166-1 country the price is for, e.g. DE; US when omitted |
| currencyCode? | string | ISO 4217 currency the price is in, e.g. EUR; USD when omitted |
fn sample()
Search GOG's catalog for the product and record its store data for the configured country and currency as a new version
fn summarise(since?: string)
Summarise the recorded samples: count, first, latest and lowest price and every change of price or discount
| Argument | Type | Description |
|---|---|---|
| since? | string | Only summarise samples recorded at or after this ISO-8601 time; all samples when omitted |
Resources
sample(infinite)— One GOG product's title, price and discount, rating, release date and operating systems at one moment; every sample is a new version
summary(infinite)— The first, latest and lowest price of a product's recorded samples and every change of price or discount
03Previous Versions
2026.10.22.1MIT
04Stats
B
86 / 100
Downloads
0
Archive size
16.2 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository0/2missing
behavior-spelling1 accepted
- (extension) — Written against swamp 20261020.024627.0, the release that added the behavior spelling. Consumers on an older swamp are not supported.
06Platforms
07Labels