SPB Git forge

spb/rareindex

Public
54commits 1branches 0releases
7.1 MBsize
maindefault branch
10 days agolast push
TypeScript 61.9% HTML 37.2% SQL 0.7%
3.7 KB · 50 lines markdown
Rendered Raw Blame History
1# GameZilla connector (`gamezilla`)23- Source: https://www.gamezilla.ca · dealer · CA · CAD · Shopify storefront4- Acquisition: public `/collections/<handle>/products.json?limit=250&page=N` (shared `ShopifyStoreConnector` adapter wrapped by `MarketPinnedShopifyConnector`, which adds a `localization=CA` cookie so Shopify Markets never geo-converts prices; no store-specific code)5- Records: `listing` (asking prices, one per variant; out-of-stock variants → `ended`)6- Refresh: every 12 h (ACTIVE→NORMAL boundary, large catalogue) · history: none (listings only)78New Brunswick TCG/anime shop chain. Shopify storefront with per-set MTG collections ('Name [Set]', store-location variants), Gunpla grades, anime figures/statues, Lorcana.910## Collections → taxonomy11| collection handle | category | brand / franchise / series |12|---|---|---|13| `mtg-commander-masters` | `magic_the_gathering` | Magic: The Gathering |14| `mtg-commander-legends-battle-for-baldurs-gat` | `magic_the_gathering` | Magic: The Gathering |15| `mtg-avatar-the-last-airbender` | `magic_the_gathering` | Magic: The Gathering |16| `mtg-foundations` | `magic_the_gathering` | Magic: The Gathering |17| `mtg-final-fantasy-commander` | `magic_the_gathering` | Magic: The Gathering |18| `mtg-commander-legends` | `magic_the_gathering` | Magic: The Gathering |19| `mtg-modern-horizons-3-commander` | `magic_the_gathering` | Magic: The Gathering |20| `mtg-edge-of-eternities` | `magic_the_gathering` | Magic: The Gathering |21| `mtg-aetherdrift` | `magic_the_gathering` | Magic: The Gathering |22| `mtg-final-fantasy` | `magic_the_gathering` | Magic: The Gathering |23| `mtg-dominaria-united` | `magic_the_gathering` | Magic: The Gathering |24| `mtg-double-masters-2022` | `magic_the_gathering` | Magic: The Gathering |25| `mtg-bloomburrow` | `magic_the_gathering` | Magic: The Gathering |26| `mtg-duskmourn-house-of-horror` | `magic_the_gathering` | Magic: The Gathering |27| `gundam` | `gundam` | Bandai / Gundam |28| `gundam-high-grade` | `gundam` | Bandai / Gundam / High Grade |29| `gundam-master-grade` | `gundam` | Bandai / Gundam / Master Grade |30| `gundam-real-grade` | `gundam` | Bandai / Gundam / Real Grade |31| `gundam-perfect-grade` | `gundam` | Bandai / Gundam / Perfect Grade |32| `anime-statue` | `action_figures` | — |33| `one-piece-figures` | `action_figures` | One Piece |34| `dragon-ball-figures` | `action_figures` | Dragon Ball |35| `naruto-figures` | `action_figures` | Naruto |36| `demon-slayer-figures` | `action_figures` | Demon Slayer |37| `disney-lorcana` | `disney_lorcana` | Disney Lorcana |38| `gundam-tcg` | `other_tcg` | Gundam Card Game |3940Excluded (regex): `gift card|sleeves?|deck box|binder|playmat|toploader|top loader|storage box|dice|tokens? only|bundle of|mystery|buylist|submission|event ticket|\bentry\b|tournament|store credit|pre-?release event|supplies|card savers?|\brepack|bulk lot|\blot of\b|\bpaints?\b|primer|brushes|online (pack|code)|digital code|code card|unused digital|ptcgo|ptcg live|\bglue\b|\btools?\b|\bnippers?\b|\bmarkers?\b|\bdecals?\b|action base|display base`4142Title pattern: `^(?<name>.+?) \[(?<set>[^\]]+)\]$` (name / set / number)4344## Access & compliance45See `accessNotes` in meta.json: robots.txt verified 2026-09-08 (standard Shopify rules, products.json paths allowed), honest UA, 1 req / 1.5 s, listings only, no personal data. Not fetched: model-kit tools/markers/decals, D&D unpainted minis, sale collections, the many small per-set MTG collections not listed (added on demand).4647## Fixtures & tests48`data/fixtures/gamezilla/` — live captures (`pnpm tsx connectors/api/_g3-shops-na-lib/capture.ts gamezilla`), trimmed single-product payloads incl. a sold-out variant.49`pnpm vitest run connectors/api/gamezilla` · live probe: `pnpm tsx connectors/api/_g3-shops-na-lib/probe.ts gamezilla`.50