Menu

Auditing Geizhals product reports with Python before rows arrive
📰

Auditing Geizhals product reports with Python before rows arrive

DEV Community: sql·Dataspryva·3 days ago
#CTKtLf75
#devtosql#devto#dev#snapshots#product
Long article (1891 words) — no AI summary yet.
Reading 0:00
15s threshold

Your Friday “new products” report can change even when no product has been added. The request even says sort="newest" , which makes the number feel defensible.

In search mode, requesting newest or bestRated uses relevance order; those sorts apply to categoryBrowse .

That means a capped weekly search can measure changes in relevance-selected membership rather than listing recency. A product crossing the cutoff can acquire a very convincing, very unofficial launch date in your spreadsheet.

Which products qualified for the report?

The useful question is narrower than “what's new?”: what made a product eligible to enter this particular extract?

Example request: this searches for gaming notebooks and checks whether the effective ordering matches the requested ordering.

import pandas as pd

requested_input = { "mode" : "search" , "keyword" : "gaming" , "searchCategory" : "nb" , "sort" : "newest" , "market" : "de" , "maxItems" : 20 , }

request_audit = pd .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.