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%

# Fusion Gaming connector (fusion-gaming)

  • Source: https://www.fusiongamingonline.com · dealer · CA · CAD · Shopify storefront
  • 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)
  • Records: listing (asking prices, one per variant; out-of-stock variants → ended)
  • Refresh: every 12 h (ACTIVE→NORMAL boundary, large catalogue) · history: none (listings only)

Winnipeg TCG retailer. Shopify storefront; singles titles are 'Name [Set]' with condition variants.

# Collections → taxonomy

collection handle category brand / franchise / series
mtg-singles magic_the_gathering Magic: The Gathering
mtg-sealed-products magic_the_gathering Magic: The Gathering
pokemon-singles pokemon Pokémon
pokemon-all-sealed pokemon Pokémon
star-wars-unlimited-singles star_wars_tcg Star Wars Unlimited
lorcana-singles-1 disney_lorcana Disney Lorcana
one-piece-singles one_piece_card_game One Piece
riftbound-singles-in-stock other_tcg Riftbound
riftbound-sealed-product other_tcg Riftbound
board-games-all board_games —

Excluded (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

Title pattern: ^(?<name>.+?) \[(?<set>[^\]]+)\]$ (name / set / number)

# Access & compliance

See 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: accessories/playmats/sleeves/dice collections, event tickets, "items-with-noprice" collection.

# Fixtures & tests

data/fixtures/fusion-gaming/ — live captures (pnpm tsx connectors/api/_g3-shops-na-lib/capture.ts fusion-gaming), trimmed single-product payloads incl. a sold-out variant. pnpm vitest run connectors/api/fusion-gaming · live probe: pnpm tsx connectors/api/_g3-shops-na-lib/probe.ts fusion-gaming.