Style Scout

Style Scout · GPT アクション

Google Shopping API Integration

  • GET /api/fetchResultsFetch shopping results based on product description
元の API スキーマ
openapi: 3.0.0
info:
  title: Google Shopping API Integration
  version: 1.0.0
servers:
  - url: https://google-shopping-api.vercel.app
paths:
  /api/fetchResults:
    get:
      operationId: fetchShoppingResults
      summary: Fetch shopping results based on product description
      parameters:
        - in: query
          name: search
          required: true
          schema:
            type: string
          description: The description of the clothing item.
      responses:
        '200':
          description: A list of shopping URLs matching the product description.
          content:
            application/json:
              schema:
                type: object
                properties:
                  search:
                    type: string
                    example: 'adidas tshirt woman'
                  results:
                    type: array
                    items:
                      type: string
                    example:
                      - 'https://www.amazon.com/adidas-AEROREADY-Training-Essentials-3-Stripes/dp/B09YBRN6R4?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER'
                      - 'https://poshmark.com/listing/NWT-Adidas-Womens-Adicolor-Essentials-Tee-TShirt-Top-White-Size-Large-New-65460b96c4c8375ce0fcea27?srsltid=AfmBOorvweD7H6xnjNocM5DnbeXt-dDLRbuDR9BzBeCkZedbfICDJzGbkBE&com_cvv=81c269aab9bc5fc4177fabac3c77acd26f491510dd5f94a06570d6c819846581'
                      - 'https://www.finishline.com/store/browse/productDetail.jsp?productId=prod2866561&brand_name=ADIDAS&styleId=II8057&colorId=001'