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.0 KB · 19 lines markdown
Rendered Raw Blame History
1# TOYZEROPLUS connector (`toyzeroplus`)23- Source: https://toyzeroplus.com · Hong Kong designer-toy label and publisher (Kowloon): own art toys and blind-box series (PP Baby/Lulu the Piggy by aaaz, Banggri, Dog Together, Esther Bunny, CiCi's Story, Mewky, Ultraman Kaiju Daruma) sold at primary-market prices; Single vs full Set variants.4- Country/currency: HK / HKD · 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 (11): `art-toy` → designer_toys, `blind-box` → designer_toys, `pp-x-monster` → designer_toys, `pp-baby` → designer_toys, `lulu-the-piggy` → designer_toys, `aaaz` → designer_toys, `banggri` → designer_toys, `dog-together-studio` → designer_toys, `esther-bunny` → designer_toys, `cici-s-story` → designer_toys, `mewky` → designer_toys.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/toyzeroplus/*.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 toyzeroplus`.19