当前位置: 首页 > news >正文

邯郸网站建设恋家/销售策略和营销策略

邯郸网站建设恋家,销售策略和营销策略,商家入驻网站建设,网站制作qitem_get-获得aliexpress商品详情 aliexpress.item_get 公共参数 名称类型必须描述keyString是调用key(免)(测)(试)secretString是调用密钥api_nameString是API接口名称(包括在请求地址中&…

item_get-获得aliexpress商品详情

aliexpress.item_get

公共参数

名称类型必须描述
keyString调用key(免)(测)(试)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

请求参数

请求参数:num_iid=4000926586732

参数说明:num_iid:aliexpress商品ID

响应参数

Version: Date:

名称类型必须示例值描述

num_iid

Bigint032667038134商品ID

title

String0女装T恤短袖吸湿快速干燥健身T恤女装上衣商品标题

desc_short

String0商品简介

price

String04.35-4.68价格

total_price

Int00

suggestive_price

Int00

orginal_price

String06.21-6.68原价

nick

String0SILVERCELL SILVERCELL Store买卖方昵称

num

Int01799可购买商品数量

min_num

Int00

detail_url

String0https://www.aliexpress.com/item//32667038134.html商品链接

pic_url

String0https://ae01.alicdn.com/kf/HTB12r_yabEF6uJjSZFOq6xUvVXa1/Women-T-Shirt-Short-Sleeves-Hygroscopic-Quick-Drying-Fitness-T-shirt-Women-Top-Clothes.jpg商品图片

brand

String0品牌名称

brandId

Bigint0品牌ID

rootCatId

Bigint0100003109顶级分类ID

cid

Bigint0

crumbs

Mix0{"100003109": "女性着装", "100003127": "T恤", "200000785": "上衣和T恤"}导航菜单

created_time

Date0创建时间

modified_time

Date0修改时间

delist_time

Date0删除时间

desc

String0

desc_img

Mix0[]商品描述图片

item_imgs

Mix0[{"url": "https://ae01.alicdn.com/kf/HTB12r_yabEF6uJjSZFOq6xUvVXa1/Women-T-Shirt-Short-Sleeves-Hygroscopic-Quick-Drying-Fitness-T-shirt-Women-Top-Clothes.jpg"}]商品图片

item_weight

Float00.25包装重量

item_size

String022|18|20包装尺寸

location

String0发货地

post_fee

Float06.00物流费用

express_fee

Float06.00快递费用

ems_fee

Float06.00EMS费用

shipping_to

String0发货至

has_discount

Boolean0是否有折扣

video

Mix0[]商品视频

is_virtual

Boolean0

sample_id

Bigint0商品风格标识ID

is_promotion

Boolean0

props_name

String014:193:Color:Black;5:361385:Size:L商品属性名

prop_imgs

Mix0{"prop_img": [{"properties": "14:193", "url": "https://ae01.alicdn.com/kf/HTB1Q9GWJVXXXXXoXXXXq6xXFXXXp/Women-T-Shirt-Short-Sleeves-Hygroscopic-Quick-Drying-Fitness-T-shirt-Women-Top-Clothes.jpg"}]}商品属性图片列表

property_alias

String014:193:Black;5:361385:L商品属性别名

props

Mix0[{ "name": "上衣类型","value": "T恤" }]商品详情

total_sold

Int0110总销量

skus

Mix0{"sku": [{"price": "4.61", "orginal_price": "6.58", "properties": "14:193;5:361385", "properties_name": "Color:Black::;Size:L::", "quantity": 100, "sku_id": "14:193;5:361385"}]商品规格信息

seller_id

Bigint0卖家ID

sales

Int0销量

shop_id

Bigint0店铺ID

props_list

Mix0{"Color:Black": ":","Size:L": ":"}商品属性

seller_info

Mix0{ "nick": "", "city": " China ", "level": "", "rate": "", "score": "", "delivery_score": "", "item_score": "", "shop_type": "", "user_num_id": "", "sid": "206074139", "title": "I", "zhuy": "//www.aliexpress.com/store/933191", "menu": []}卖家信息

tmall

Boolean0false是否天猫

error

String0错误信息

warning

String0警告信息

url_log

Mix0

score

Float04.8商品评分

votes

Int049评分人数

stuff_status

String0

shopinfo

Mix0{"shop_name": ""}店铺信息

promo_type

String0

shop_item

Mix0[]

relate_items

Mix0[]

packaging

Mix0[{ "name": "Package Size","value": "22cm x 18cm x 20cm (8.66in x 7.09in x 7.87in)"}]包装信息

current_lang

String0en

currency_code

String0USD

props_img

Mix0{"14:193": "https://ae01.alicdn.com/kf/HTB1Q9GWJVXXXXXoXXXXq6xXFXXXp/Women-T-Shirt-Short-Sleeves-Hygroscopic-Quick-Drying-Fitness-T-shirt-Women-Top-Clothes.jpg"}属性图片
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/aliexpress/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=4000926586732"

PHP

<?php// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/aliexpress/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=4000926586732";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>

 

<?php
//定义缓存目录和引入文件
define("DIR_RUNTIME","runtime/");
define("DIR_ERROR","runtime/");
define("SECACHE_SIZE","0");
//SDK下载地址 https://open.onebound.cn/help/demo/sdk/onebound-api-sdk.zip
include ("ObApiClient.php");$obapi = new otao\ObApiClient();
$obapi->api_url = "http://api-gw.onebound.cn/";
$obapi->api_urls = array("http://api-gw.onebound.cn/","http://api-1.onebound.cn/");//备用API服务器
$obapi->api_urls_on = true;//当网络错误时,是否启用备用API服务器
$obapi->api_key = "<您自己的apiKey>";
$obapi->api_secret = "<您自己的apiSecret>";
$obapi->api_version ="";
$obapi->secache_path ="runtime/";
$obapi->secache_time ="86400";
$obapi->cache = true;$api_data = $obapi->exec(array("api_type" =>"aliexpress","api_name" =>"item_get","api_params"=>array ('num_iid' => '4000926586732',
)));var_dump($api_data);
?>
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.URL;
import java.nio.charset.Charset;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.PrintWriter;
import java.net.URLConnection;public class Example {private static String readAll(Reader rd) throws IOException {StringBuilder sb = new StringBuilder();int cp;while ((cp = rd.read()) != -1) {sb.append((char) cp);}return  sb.toString();}public static JSONObject postRequestFromUrl(String url, String body) throws IOException, JSONException {URL realUrl = new URL(url);URLConnection conn = realUrl.openConnection();conn.setDoOutput(true);conn.setDoInput(true);PrintWriter out = new PrintWriter(conn.getOutputStream());out.print(body);out.flush();InputStream instream = conn.getInputStream();try {BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));String jsonText = readAll(rd);JSONObject json = new JSONObject(jsonText);return json;} finally {instream.close();}}public static JSONObject getRequestFromUrl(String url) throws IOException, JSONException {URL realUrl = new URL(url);URLConnection conn = realUrl.openConnection();InputStream instream = conn.getInputStream();try {BufferedReader rd = new BufferedReader(new InputStreamReader(instream, Charset.forName("UTF-8")));String jsonText = readAll(rd);JSONObject json = new JSONObject(jsonText);return json;} finally {instream.close();}}public static void main(String[] args) throws IOException, JSONException {// 请求示例 url 默认请求参数已经URL编码处理String url = "https://api-gw.onebound.cn/aliexpress/item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=4000926586732";JSONObject json = getRequestFromUrl(url);System.out.println(json.toString());}}

http://www.jmfq.cn/news/5343769.html

相关文章:

  • 上海建设局网站 招聘/百度竞价培训班
  • 服装企业网站建设/网络营销的重要性与意义
  • 英文网站建设 深圳/交换免费连接
  • 宜昌市住房和城乡建设厅官方网站/淘宝店铺怎么运营
  • 荣添网站建设优化/seo专员是什么
  • 敖降网站建设/广告公司名字
  • 杭州建设招聘信息网站/百度知道合伙人答题兼职入口
  • 上海网站建设上海迈歌/河北seo诊断培训
  • 建设部网站江苏金安/优质网站
  • 青海省住房和城乡建设厅门户网站/百度代运营推广
  • 如何找到能够建设网站的人/seo的含义是什么意思
  • 贵德县wap网站建设公司/新闻发布
  • 院系网站建设具体要求/app推广拉新接单平台
  • 联想电脑建设网站前的市场分析/seo外包公司如何优化
  • 环保部网站建设项目/电商seo
  • 中国网站建设调查分析/公司注册
  • 讨论致同国际网站建设情况/软文编辑
  • 政府网站建设绩效评估/职业培训机构有哪些
  • 网站建设的课程都需要什么/磁力天堂最新版地址
  • 淘宝现在网站建设不能发布要发布上面类目/怎么联系地推公司
  • 兰州网站网站建设/seo推广优化服务
  • 网站建设合同标的/国内广告投放平台
  • 石家庄城乡建设局网站6/指定关键词排名优化
  • 网站的建设公司/关键词排名点击软件
  • 汉南城乡建设局网站/广州seo网络优化公司
  • 吴江城乡住房和城乡建设局网站/免费优化网站排名
  • 赤峰北京网站建设/aso排名服务公司
  • 网站建设工作方案范文/百度网游排行榜
  • 中企动力建设网站/网站建设价格
  • 鄂北局网站建设者风采/域名注册网