zoukankan      html  css  js  c++  java
  • 淘宝API还能用来采集数据吗?taobao.item.get 接口还能用吗?

    我的app证书显示有天猫精品库和商品信息展示权限,而官方公告说已经收回权限;

    问题①:我有没有商品信息展示接口的权限?

     

     

    我在测试环境里面测试taobao.item.get,选择的是正式的数据环境;

    用系统分配的appkey能返回结果;

    而 用我的appkey 21657549,返回的是:“接口已下线,请参阅公告【http://club.alimama.com/read-htm-tid-5352340.html】完成改造”

    问题②:taobao.item.get下线了没有,为何系统分配的appkey可以获取数据,是因为你们的数据不同步的问题吗,还是什么原因?

     

     

     

     

    taobao.item.get

    21657549

    http://gw.api.taobao.com/router/rest(正式)

     

     

    $c = new TopClient;
    $c->appkey = appkey;
    $c->secretKey = secret;
    $req = new ItemGetRequest;
    $req->setFields("detail_url,num_iid,title,nick,type,cid,seller_cids,props,input_pids,input_str,desc,pic_url,num,valid_thru,list_time,delist_time,stuff_status,location,price,post_fee,express_fee,ems_fee,has_discount,freight_payer,has_invoice,has_warranty,has_showcase,modified,increment,approve_status,postage_id,product_id,auction_point,property_alias,item_img,prop_img,sku,video,outer_id,is_virtual");
    $req->setNumIid(35390403420);
    $resp = $c->execute($req, $sessionKey);
  • 相关阅读:
    09_ssh服务器的安装和使用
    08_linux下的文件压缩和解压
    38-自定义异常类
    37-手动抛出异常对象
    DataGrip 2020.1 安装与激活
    36-异常的处理
    35-异常
    node+ajax实战案例(1)
    ajax前后端交互原理(7)
    ajax前后端交互原理(5)
  • 原文地址:https://www.cnblogs.com/wangtongphp/p/3431776.html
Copyright © 2011-2022 走看看