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%
2.3 KB · 19 lines markdown
Rendered Raw Blame History
1# Solaris Japan connector (`solarisjapan`)23- Source: https://solarisjapan.com · Anime figure and Japanese retro-game store (US-registered, ships from Japan): 70k figures (Nendoroid, figma, Pop Up Parade, prize figures, Revoltech), pre-owned and brand-new variants with separate prices, Japanese retro games (Famicom/Super Famicom, PS1, Mega Drive, DS/3DS/Switch) and Japanese One Piece/Pokémon TCG products. Adult (nsfw-tagged) figures are excluded.4- Country/currency: US / USD · type: dealer · engine: api (Shopify storefront products.json (public JSON))5- Records: `listing` only (dealer asking prices; never sales — SPEC §111). One listing per variant (condition / size / finish), out-of-stock variants kept as `ended`.6- Refresh: every 24 h (NORMAL class) · historical depth: none (no sold archive).78## How it works9Metadata-only connector: `index.ts` instantiates the shared `ShopifyStoreConnector` adapter; everything source-specific lives in `meta.json` `config`:10collections → taxonomy slug (with brand/franchise/series), title/tag `rules` (first match wins), an `exclude` regex for accessories/apparel/events, and the shop currency. Anything unmapped is skipped, never guessed.1112Collections read (16): `figures` → action_figures, `nendoroid` → action_figures, `figma` → action_figures, `pop-up-parade-figures` → action_figures, `prize-figures` → action_figures, `revoltech-figures` → action_figures, `marvel-dc-action-figures` → action_figures, `star-wars-figures` → action_figures, `gundam-figures` → gundam, `retro-games` → video_games, `nintendo-ds` → nintendo_games, `nintendo-3ds` → nintendo_games, `nintendo-switch` → nintendo_games, `one-piece-tcg` → one_piece_card_game, `pokemon-tcg` → pokemon, `plushies` → plush.1314## Access & compliance15See `accessNotes` in meta.json (robots findings, endpoints, rate limit, what is not fetched). Host policy: `connectors/domains.d/g4-shops-intl.json`.1617## Fixtures & tests18`data/fixtures/solarisjapan/*.json` are live captures made with `connectors/api/_g4-shops-intl-lib/capture.ts` (trimmed payloads, expectations derived from the live record). `index.test.ts` runs the framework fixture suite, the g4 store invariants and a mapping unit test on titles observed live. Live probe: `pnpm tsx connectors/api/_g4-shops-intl-lib/smoke.ts solarisjapan`.19