TwiGPT
TwiGPT · GPT 작업
Twitter Content Scraper
API for scraping Twitter content based on user, hashtag, or keyword.
GET /tweetsGetTweetsRetrieves tweets based on a specified query.
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Twitter Content Scraper",
"description": "API for scraping Twitter content based on user, hashtag, or keyword.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://gptwhoremains.com/api"
}
],
"paths": {
"/tweets": {
"get": {
"description": "Retrieves tweets based on a specified query.",
"operationId": "GetTweets",
"parameters": [
{
"name": "query",
"in": "query",
"description": "The keyword, hashtag, or username to search for in tweets.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A list of tweets matching the query.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Tweets"
}
}
}
},
"400": {
"description": "Invalid request parameters."
},
"401": {
"description": "Authentication error."
},
"500": {
"description": "Internal server error."
}
}
}
}
},
"components": {
"schemas": {
"Tweets": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tweet"
}
}
}
},
"Tweet": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"username": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}