关键词不能为空

当前您在: 主页 > 英语 >

20w词库查询

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-27 21:39
tags:

-

2021年2月27日发(作者:祭祀怎么读)


20w


词库查询




接口地址:



/tool/accounts/tao-top20w




接口介绍


:



查询淘宝搜到词(该接口获取分类,免费)




请求方式:



POST


接口合作卫星


weixiaot168


或者私聊




传参方式:



form- data




返回格式:



JSON




接口收费:



包年包月




频率限制:


10


< br>/


秒接口合作卫星


weixiaot168


或者私聊




请求头参数



参数



类型



必选





示例



Authorization


string




授权



access_token


Bearer


1798c6aadec33d1bc2f5b707f1049aefexxxx


请求参数



参数



类型



必选



描述



parent_id


int




父类


id


pubdate


string




淘宝发布该分类日期



请求示例



parent_id: 6


pubdate: 2020-08-05


cURL


代码请求示例



curl


--location --request POST


'/tool/accounts/tao- top20w'



--header


'Authorization: Bearer


4eaa8 3b3d669a05ca87b61fb72537839xxxxxxxx'



--header


'Cookie: PHPSESSID=nkpascnenpbibvevutrskdof0n;


_ csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e62f065be5bd ed62db1ac44


ee85e1f4a%3A2%3A%7Bi%3A0%3Bs %3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3


2%3A% 22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3B%7D'



--form


'parent_id=6'



--form


'pubdate=2020-08-05'




PHP


请求代码示例


接口合作卫星


weixiaot168


或者私聊






$$curl


=



curl_init


();



curl_setopt_array


($$curl,


array


(



CURLOPT_URL



=>




top20w


,



CURLOPT_RETURNTRANSFER



=>



true


,



CURLOPT_ENCODING



=>




,



CURLOPT_MAXREDIRS



=>



10


,



CURLOPT_TIMEOUT



=>



0


,



CURLOPT_FOLLOWLOCATION



=>



true


,



CURLOPT_HTTP_VERSION



=>



CURL_HTTP_VERSION_1_1


,



CURLOPT_CUSTOMREQUEST



=>




,



CURLOPT_POSTFIELDS



=>



array

(


'parent_id'



=>



'6'


,


'pubdate'



=>



'2020-08-05'


),



CURLOPT_HTTPHEADER



=>



array


(




4eaa83b3d669a05ca87b61fb72537839xx xxxxxx


,



< p>
_csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e62f0 65be5bded62db1ac44


ee85e1f4a%3A2%3A%7Bi% 3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3

2%3A%22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3B%7D



),


));



$$response


=



curl_exec


($$curl);



curl_close


($$curl);


echo


$$response;



JAVA


请求代码示例



OkHttpClient


client


=



new



OkHttpClient


().


ne wBuilder


()


.


build


();


MediaType


mediaType


=



MediaType


.


parse


(


< p>
);


RequestBody


body


=



new



MultipartBody


.


Bui lder


().


setType


(


MultipartBody


.FORM)


.


addFormDataPart


(



,



)


.


addFormDataPart


(



,



)


.


build


();


Request


request


=



new



Request


.


Builder


()


.


url


(



)


.


method


(



, body)


.


ad dHeader


(



,



4eaa83b3d669a05ca87b61fb72537839xxx xxxxx


)


.


addHead er


(



,


< /p>


_csrf=ff39c339ca1c7e257a6f5a8dddaf2ebc2e 62f065be5bded62db1ac44


ee85e1f4a%3A2%3A% 7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3

< p>
2%3A%22ZJxMlZX0OWm9VpJqcaWHICiqN71agl21%22%3 B%7D


)


.


build


();


Response


response


=


client.


newCall< /p>


(request).


execute


( );



响应参数



参数



类型



描述



id


int


编号



参数



类型



描述



name


string


分类名称



parent_id


int


父类


id


level


int


层级




n


级分类



childs


int


子类总数



pubdate


date


淘宝发布该分类日期



type


int


类型



1



PC




2: APP


add_time


timestamp


添加时间



keyword num


int


关键词数量



返回数据



{




:



0


,




:




成功



,




:



316


,




:



1596765419


,




:


{




:


[


{




:



7


,




:




手机配件



,




:



6


,




:



2


,




:



11


,




:




,




:



2


,




:




,




:



66



},


{




:



23


,




:




移动电源



,




:



6


,




:



2


,




:



0


,




:




,




:



2


,




:




,




:



77



},


{




:



168


,




:




配件



,




:



6


,




:



2


,




:



2


,




:




,




:



2


,




:




,




:



56



},


{




:



257


,




:




电脑周边



,




:



6


,




:



2


,




:



8


,




:




,




:



2


,




:




,




:



185



},


{




:



423


,




:




平板电脑配件



,




:



6


,




:



2


,




:



3


,




:




,




:



2


,




:




,




:



94



},


{




:



647


,




:




笔记本电脑配件



,




:



6


,




:



2


,




:



11


,




:




,




:



2


,




:




,




:



97



},


{




:



833


,




:




数码周边



,




:



6


,




:



2


,




:



5


,




:




,




:



2


,




:




,




:



75



},


{




:



1118


,




:




胶片相机配件



,




:



6


,




:



2


,




:



2


,




:




,




:



2


,




:




,




:



8



},


{




:



1348


,




:




家电影音周边配件



,




:



6


,




:



2


,




:



3


,




:




,




:



2


,




:




,




:



39



},


{




:



1351


,




:




单反


/


单电相机配件


< /p>


,




:



6


,




:



2


,




:



3


,




:




,




:



2


,




:




,




:



33



},


{




:



1524


,




:




数码包


/


收纳


/


整理



,




:



6


,




:



2


,




:



2


,




:




,




:



2


,




:




,




:



24



},


{




:



1585


,




:




干电池


/


充电电池


/< /p>


套装



,




:



6


,




:



2


,




:



3


,




:




,




:



2


,




:




,




:



31



},


{




:



2545


,




:




其它配件



,




:



6


,




:



2


,




:



0


,




:




,




:



2


,




:




,




:



7



},


{




:



2994


,




:




数码相机配件



,




:



6


,




:



2


,




:



1


,




:




,




:



2


,




:




,




:



2



},


{




:



3148


,




:




车载手机配件



,




:



6


,




:



2


,




:



1


,




:




,




:



2


,




:




,




:



2



}


]


}


}



接口地址:



/tool/accounts/tao- top20w-


keyword




接口介绍:



该接口可以获取到关键词(该接口需要收费)




请求方式:



POST




传参方式:



form- data




返回格式:



JSON




接口收费:



包年包月




频率限制:


10



/





请求头参数



参数



类型








示例



Authorization


string




授权



access_token


Bearer


1798c6aadec33d1bc2f5b707f1049aefexxxx


请求参数



参数



类型



必选



描述



cat_id


int




分类编号



请求示例



cat_id: 7


cURL


请求代码示例



curl


--location --request POST


'/tool/accounts/tao- top20w-


keyword'



--header


'Authorization: Bearer


9e9cfbce77aa841e7adc40ec73223ae4 xxxxxxxx'



--header


'Cookie: PHPSESSID=38e60op1caonkimadf11g1fl6d;


_ csrf=3c3bcf6aa55a259c430ce996254f0a6c840ee0934363e efde6e3b0ca


e408348ba%3A2%3A%7Bi%3A0%3Bs %3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3


2%3A% 22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3B%7D'



--form


'cat_id=7'




PHP


请求代码示例






$$curl


=



curl_init


();



curl_setopt_array


($$curl,


array


(



CURLOPT_URL



=>




keyword


,



CURLOPT_RETURNTRANSFER



=>



true


,



CURLOPT_ENCODING



=>




,



CURLOPT_MAXREDIRS



=>



10


,



CURLOPT_TIMEOUT



=>



0


,



CURLOPT_FOLLOWLOCATION



=>



true


,



CURLOPT_HTTP_VERSION



=>



CURL_HTTP_VERSION_1_1


,



CURLOPT_CUSTOMREQUEST



=>




,



CURLOPT_POSTFIELDS



=>



array

(


'cat_id'



=>



'7'


),



CURLOPT_HTTPHEADER



=>



array


(




9e9cfbce77aa841e7adc40ec73223ae4cx xxxxxxx


,




_csrf=3c3bcf6aa55a259c430ce996254f0a6c840ee 0934363eefde6e3b0ca


e408348ba%3A2%3A%7Bi %3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3

< br>2%3A%22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3B%7 D



),


));



$$response


=



curl_exec


($$curl);



curl_close


($$curl);


echo


$$response;



JAVA


请求代码示例



OkHttpClient


client


=



new



OkHttpClient


().


ne wBuilder


()


.


build


();


MediaType


mediaType


=



MediaType


.


parse


(


< p>
);


RequestBody


body


=



new



MultipartBody


.


Bui lder


().


setType


(


MultipartBody


.FORM)


.


addFormDataPart


(



,



)


.


build


();


Request


request


=



new



Request


.


Builder


()


.


url


(



top20w-keyword


)


.


method


(



, body)


.


ad dHeader


(



,



9e9cfbce77aa841e7adc40ec73223ae4xxx xxxxx


)


.


addHead er


(



,


< /p>


_csrf=3c3bcf6aa55a259c430ce996254f0a6c84 0ee0934363eefde6e3b0ca


e408348ba%3A2%3A% 7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A3

< p>
2%3A%22iTvZZ4pBhZU2buepEFzaLv1Ruq5d9vQA%22%3 B%7D


)


.


build


();


Response


response


=


client.


newCall< /p>


(request).


execute


( );



响应参数



参数



类型



描述



id


int


编号



cat_id


int


分类编号



keyword


string


关键字



type


int


类型



返回数据



{




:



0


,




:




成功



,




:



196


,




:



1596769942


,




:


{




:


[


{




:



7


,

-


-


-


-


-


-


-


-



本文更新与2021-02-27 21:39,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/676226.html

20w词库查询的相关文章