[] Ask for Yahoo Japan api resolution (php). I will make another purchase network (Yahoo Japan, Lotte), and ask experts to help parse the two APIs.
Source: Internet
Author: User
[Online, etc.] ask for Yahoo Japan api resolution (php). I will make another purchase network (Yahoo Japan, Lotte) and ask experts to help parse the two of them. Ask for Yahoo Japan api resolution (php), and I will make another purchase agency (Yahoo Japan, Lotte). ask experts to help parse the two of them. I don't know how to use this api, but I can't get the results !, Use google & nbsp; to [online, etc.] to ask for Yahoo Japan api resolution (php). I will make another purchase agency (Yahoo Japan, Lotte) and ask experts to help parse the two of them.
Ask for Yahoo Japan api resolution (php), and I will make another purchase agency (Yahoo Japan, Lotte). ask experts to help parse the two of them. I don't know how to use this api, so I can't get the results!
------ Solution --------------------
Translate with google
Request URL
XML
Http://dir.yahooapis.jp/Category/V1/Category
The directory tree displays the category tree and Yahoo website category registration data.
Request parameters
"Build a REST request (GET)" please refer.
Parameter value description
The (required) string application ID of the AppID. For more information, click here.
ID (force or path) integer classification page. If both specify the path and priority number.
Path (or id or needed) string URL minus category page from http://dir.yahoo.co.jp. If the two IDs and priority numbers are used.
Enter an integer: 0 (default) 0: data type and Website Data.
1: only data types are supported.
2: Only website data is available.
Expand integer: 0 (default) "region News" is called in the use process of "propagation" in some of the following classes. This also summarizes the websites registered with the same category name in the following regions.
(For example, "Sanzhong County> five-person indoor soccer" in case "and" yi shi> five-person indoor soccer "and"> Football "enter the website, such as a single view of the registered category ).
If you want to enable propagation, one specifies.
Sample application URL
HTTP: // Dir.yahooapis.jp/Category/V1/Category AppID = & Amp; ID = 2075288777
Response Field
For the architecture of the directory tree Web API, visit the following URL. Http://dir.yahooapis.jp/Category/V1/CategoryResponse.xsd
Field data type description
CategoryResult result request.
Status from the server status and response message.
ARGS sets the parameters passed to the API. Contains multiple Arg.
The parameter of the ARG string name (string. Parameter of the value (string.
An error occurs when an incorrect API description occurs. Multiple errors.
The error string description is incorrect.
The category of the spatial information.
ID of an integer category.
Parent class of the parent integer ID.
The depth integer ranges from the top-level class to the depth of the class hierarchy.
Title string category name.
The name of the JTitle string reading class.
Path strings are excluded from the classification page by Yahoo Japan's web site "http://dir.yahoo.co.jp.
The JPath string is a type string provided by "class path (breadcrumb)" on Yahoo! Japan.
The SPATH string shows the hierarchy with the ID class.
The date on which the string is created or the website has been registered. "YYYYMMDD" format.
Category and shortcut, which are set under a type of link. This includes more than 0 An element.
The type of registration for the website Yahoo website. This includes more than 0 An element.
Count integer.
Project shortcut key sub-category or category, letter index and registration website (listed below) information.
Type string Category: indicates the lower limit category. Link: indicates the shortcut category (Category shortcut, when you enter this category, the category in the tree, and the Kenai is not indicated by Tadori on the top ). Website: indicates the website registered in this category. Leaf: indicates that this category is processed as a registered website. Link_Leaf: indicates that the registered website will be quickly processed as a class. Index: Although many websites are registered by category, registration is set for the index of split websites (indexed in alphabetical order), and the registered websites are separated. If you call such a class, the type is "exponential", which is more than one project value, with the data type returned by the registered website. In this case ) Representative index ( ) Split page ID ( ) Contains the name of the data.
ID of the classification number of the integer type =.
Link integer when type = class ?? "0 ". When the link is, the category ID shortcut itself.
Path strings are excluded from Yahoo Web site via Yahoo Japan's category, "http://dir.yahoo.co.jp.
Title string category name (type = category, when type = link), website name registration (when type = website ).
JTitle string reading Category name (type = category, when type = link), please read the website name registration (when type = website ).
URL string when type = website, website registered. URL display (Display URL ).
When the ClickUrl string type is site, it is linked to the URL of the registered website (click.
Abstract string indicates the website to be registered.
The date on which the string is created or the website has been registered. "YYYYMMDD" format.
The new integer "1" in the past week. Otherwise, "0" is the newly registered website.
Yahoo.
Sample response
Here, ID = 2075288777 is the response to the request.
Error
The directory tree is a common Web API for Yahoo! Japanese website API message and error code return.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.