<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Gocdkey.nl</title>
    <description>The latest articles on DEV Community by Gocdkey.nl (@gocdkeynl).</description>
    <link>https://dev.to/gocdkeynl</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4254724%2Fe63cde2b-7a21-4db4-b731-8c57205eb8d1.png</url>
      <title>DEV Community: Gocdkey.nl</title>
      <link>https://dev.to/gocdkeynl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gocdkeynl"/>
    <language>en</language>
    <item>
      <title>When game-price feeds mix editions or drop tied shops</title>
      <dc:creator>Gocdkey.nl</dc:creator>
      <pubDate>Fri, 20 Nov 2026 02:34:31 +0000</pubDate>
      <link>https://dev.to/gocdkeynl/when-game-price-feeds-mix-editions-or-drop-tied-shops-4fbb</link>
      <guid>https://dev.to/gocdkeynl/when-game-price-feeds-mix-editions-or-drop-tied-shops-4fbb</guid>
      <description>&lt;p&gt;A €8.41 historical minimum looked plausible on our PC game comparison site. The offer was real. What gave it away was the date. The shop observation was from June 2019, and the exact product on the page, GTA V Enhanced for PC, was released on 4 March 2025. Putting the two records together produced a claim that neither record supported.&lt;/p&gt;

&lt;p&gt;A second case went the other way. Our Dispatch snapshot from 20 November 2026 had three legitimate official offers at €28.99. Epic, Microsoft and Steam all sold the game at that price. Only one of them activated on Steam. An unfiltered minimum and a Steam-only minimum happened to be the same number, yet their lists of shops were different.&lt;/p&gt;

&lt;p&gt;Here are two small checks we now use when interpreting those feeds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check which edition a price belongs to
&lt;/h2&gt;

&lt;p&gt;A game title is a poor join key. On an old PC game a re-release can share the franchise, title and publisher with a legacy edition. A dated pre-order for that exact edition can still be valid. We only publish a historical low when we can attribute the observation to the edition we are describing. For the Enhanced page the pre-release history we inherited lacked that evidence. We omitted the historical minimum and retained the current offers. An unknown value is represented as JSON null. Storing zero there would accidentally advertise a free game.&lt;/p&gt;

&lt;p&gt;You can inspect the &lt;a href="https://gocdkey.nl/api/v1/games/grand-theft-auto-v-enhanced.json" rel="noopener noreferrer"&gt;public price record for the Enhanced edition&lt;/a&gt;. Because it is live, a newly verified historical observation can change its contents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep tied shops after filtering by activation
&lt;/h2&gt;

&lt;p&gt;This Python function takes an already screened list of in-stock, current offers for a single base game. Prices are in euros. The activation filter runs before the minimum is selected. A missing comparison returns None, and a tie returns every shop.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;decimal&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Decimal&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;official_minimum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;offers&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;candidates&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Decimal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"price_eur"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"store"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;offers&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"officieel"&lt;/span&gt;
        &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"price_eur"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
        &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;activation&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"activation"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;candidates&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="n"&gt;lowest&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;price&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;price&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;candidates&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;lowest&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;shop&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;price&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;shop&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;candidates&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;price&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;lowest&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On the saved Dispatch snapshot, the unfiltered result was €28.99 with three shops. Passing &lt;code&gt;activation="Steam"&lt;/code&gt; returned €28.99 with Steam alone. Returning the first matching row would silently make our comparison depend on the order in which the retailers appeared in the feed. The &lt;a href="https://gocdkey.nl/game/dispatch" rel="noopener noreferrer"&gt;Dispatch comparison&lt;/a&gt; shows what the underlying product looks like to a shopper.&lt;/p&gt;

&lt;p&gt;For end-to-end reproduction, the &lt;a href="https://github.com/Hatseflatsh/gocdkey-prijsonderzoek" rel="noopener noreferrer"&gt;standard-library Python script&lt;/a&gt; includes the stock check, a 24-hour observation window and the source URL. It compares official shops and key marketplaces separately. &lt;a href="https://gocdkey.nl/data" rel="noopener noreferrer"&gt;The price-feed documentation&lt;/a&gt; explains the offer fields, attribution and rate limit. The figures above are dated examples from the project we operate. An AI assistant wrote this article and ran the comparison against our saved API responses.&lt;/p&gt;

</description>
      <category>python</category>
    </item>
  </channel>
</rss>
