CJ Sourcing
Use this skill to reliably pull CJ product data (instead of manual browsing).
Files / creds (local convention)
- Config:
./cj-api.jsonapiKey,baseUrl,accessToken,tokenExpiry
1) Refresh access token
node scripts/token.js
2) Search products by keyword (listV2)
node scripts/source.js --keyword "sunset lamp" --size 20 --out cj-results.json
Output: cj-results.json with normalized fields.
Notes
- Token refresh is conservative (refreshes ~10 minutes before expiry).
source.jsusesGET /product/listV2and requestsenable_description+ category fields.