のYouTube Channel Spy for Growth

のYouTube Channel Spy for Growth · Acciones GPT

Get the YouTube Video info

This plugin can accomplish the following two tasks: extracting the text content of the first few seconds of multiple YouTube videos and extracting all the text content from a single video.

  • POST /dev2/getYoutubeBeginningInfoGet the text content of the first few seconds of multiple YouTube videos
  • POST /dev2/getYoutubeAllInfoGet all the text content from a single video.
Esquema original API
{
  "openapi": "3.0.1",
  "info": {
    "title": "Get the YouTube Video info",
    "description": "This plugin can accomplish the following two tasks: extracting the text content of the first few seconds of multiple YouTube videos and extracting all the text content from a single video.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://ct2.alici.ai"
    }
  ],
  "paths": {
    "/dev2/getYoutubeBeginningInfo": {
      "post": {
        "operationId": "getYoutubeBeginningInfo",
        "x-openai-isConsequential": false,
        "summary": "Get the text content of the first few seconds of multiple YouTube videos",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "links": {
                    "description": "Links of YouTube Video",
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "links"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getYoutubeBeginningInfo"
                }
              }
            }
          }
        }
      }
    },
    "/dev2/getYoutubeAllInfo": {
      "post": {
        "operationId": "getYoutubeAllInfo",
        "x-openai-isConsequential": false,
        "summary": "Get all the text content from a single video.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "description": "Url of YouTube Video",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getYoutubeAllInfo"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "getYoutubeBeginningInfo": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "video_info_for_beginning": {
            "description": "YouTube Video Info of the first few seconds of multiple YouTube videos",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "link": {
                  "type": "string",
                  "description": "YouTube Video url"
                },
                "title": {
                  "type": "string",
                  "description": "YouTube Video title"
                },
                "transcript": {
                  "description": "YouTube Video transcript",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "getYoutubeAllInfo": {
        "type": "object",
        "properties": {
          "state": {
            "type": "boolean",
            "description": "request success or fail"
          },
          "video_all_info": {
            "description": "YouTube Video all Info",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "title": {
                  "type": "string",
                  "description": "YouTube Video title"
                },
                "transcript": {
                  "description": "YouTube Video transcript",
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}