Shopping GPT - 🔗 Getproduct.help

Shopping GPT - 🔗 Getproduct.help · GPT アクション

Get product image URL

Retrieves an image URL for a given product title from Bing as well as a Bing search query for product title

  • POST /getProductImageUrlReturns an image URL when given a product title as input as well as a Bing search query for product title
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get product image URL",
    "description": "Retrieves an image URL for a given product title from Bing as well as a Bing search query for product title",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://back.claros.so"
    }
  ],
  "paths": {
    "/getProductImageUrl": {
      "post": {
        "summary": "Returns an image URL when given a product title as input as well as a Bing search query for product title",
        "operationId": "getURLs",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "productTitle": {
                    "type": "string",
                    "description": "The title of the product for which the image URL is needed."
                  }
                },
                "required": [
                  "productTitle"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "URL of the product image and Bing search URL for the product title.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "imageUrl": {
                      "type": "string",
                      "description": "The URL of the product image."
                    },
                    "searchUrl": {
                      "type": "string",
                      "description": "Bing search URL for the product title."
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}