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%
1.9 KB · 19 lines markdown
Rendered Raw Blame History
1# Crepslocker connector (`crepslocker`)23- Source: https://www.crepslocker.com · Blackburn (UK) luxury sneaker and streetwear reseller: Air Jordan, Nike Dunk, Yeezy, designer trainers (Dior, Balenciaga, Hermès), a "Preloved" pre-owned range with condition tags, Swatch × AP watches, Pokémon sealed and Pop Mart Labubu.4- Country/currency: GB / GBP · 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 12 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 (8): `footwear` → sneakers, `air-jordan` → nike_jordan, `nike-dunk` → nike_jordan, `yeezy-trainers` → adidas_yeezy, `preloved-footwear` → sneakers, `watches` → other_watches, `pokemon` → pokemon, `labubu-by-pop-mart` → 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/crepslocker/*.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 crepslocker`.19