Amazon Shopping Guide
Amazon Shopping Guide · GPT-Aktionen
10Best Guide Product API
API for retrieving product information based on keywords.
POST /GetProductsRetrieve ProductsRetrieves products with a general product name and additional product name variants.
Ursprüngliches API-Schema
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "10Best Guide Product API",
"description": "API for retrieving product information based on keywords."
},
"servers": [
{
"url": "https://api.10best.guide/GPT"
}
],
"paths": {
"/GetProducts": {
"post": {
"summary": "Retrieve Products",
"description": "Retrieves products with a general product name and additional product name variants.",
"operationId": "getProducts",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"generalProductName": {
"type": "string",
"description": "General product name.",
"example": [
"laptop"
]
},
"additionalProductNameVariants": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional product name variants.",
"example": [
"inexpensive laptop",
"economical laptop"
]
}
}
}
}
}
},
"responses": {
"200": {
"description": "A list of products matching the product names.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"Products": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Product"
}
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Product": {
"type": "object",
"properties": {
"Title": {
"type": "string"
},
"Score": {
"type": "number"
},
"Link": {
"type": "string"
},
"Brand": {
"type": "string"
},
"Price": {
"type": "number"
},
"Rating": {
"type": "number"
},
"Ratings": {
"type": "integer"
},
"Image": {
"type": "string"
},
"Pros": {
"type": "array",
"items": {
"type": "string"
}
},
"Cons": {
"type": "array",
"items": {
"type": "string"
}
},
"BottomLine": {
"type": "string"
}
}
},
"Error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
}
}
}
}
}
}