UNPKG

@blueislandx/island-taobao-bypass

Version:

Island (小蓝岛) 淘宝商品数字 id 转联盟字符 id 解决方案 (开源版)

12 lines (10 loc) 388 B
const union = require('@blueislandx/island-union-sdk'); const taobao = require('../../island-taobao-bypass'); const client = new union.taobao.Client({ appKey: '********', secretKey: '********************************' }); const hack = new taobao.TaobaoHack(client); hack.getGoodsIdV2('668674364464', '************').then(result => { console.log(result.item_id); })