Trading assistant
Trading assistant · GPT-Aktionen
GNews API
An API to access global news articles and headlines from various sources.
GET /searchSearch News ArticlesAllows users to search for news articles based on specific keywords, language, country, and more.
Ursprüngliches API-Schema
{
"info": {
"title": "GNews API",
"description": "An API to access global news articles and headlines from various sources.",
"version": "4.0"
},
"servers": [
{
"url": "https://gnews.io/api/v4",
"description": "Production server"
}
],
"paths": {
"/search": {
"get": {
"summary": "Search News Articles",
"description": "Allows users to search for news articles based on specific keywords, language, country, and more.",
"operationId": "searchNewsArticles",
"parameters": [
{
"name": "q",
"in": "query",
"description": "Keywords or phrases to search for in the news articles.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "lang",
"in": "query",
"description": "Language of the news articles.",
"required": false,
"schema": {
"type": "string",
"default": "en"
}
},
{
"name": "country",
"in": "query",
"description": "Country of the news sources.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"description": "API token for authentication.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with news articles.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"type": "string"
},
"image": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "date-time"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {
"api_key": {
"type": "apiKey",
"in": "query",
"name": "token"
}
}
},
"security": [
{
"api_key": []
}
]
}GNews API
An API to access global news articles and headlines from various sources.
GET /searchSearch News ArticlesAllows users to search for news articles based on specific keywords, language, country, and more.
Ursprüngliches API-Schema
{
"info": {
"title": "GNews API",
"description": "An API to access global news articles and headlines from various sources.",
"version": "4.0"
},
"servers": [
{
"url": "https://gnews.io/api/v4",
"description": "Production server"
}
],
"paths": {
"/search": {
"get": {
"summary": "Search News Articles",
"description": "Allows users to search for news articles based on specific keywords, language, country, and more.",
"operationId": "searchNewsArticles",
"parameters": [
{
"name": "q",
"in": "query",
"description": "Keywords or phrases to search for in the news articles.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "lang",
"in": "query",
"description": "Language of the news articles.",
"required": false,
"schema": {
"type": "string",
"default": "en"
}
},
{
"name": "country",
"in": "query",
"description": "Country of the news sources.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "token",
"in": "query",
"description": "API token for authentication.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with news articles.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"type": "string"
},
"image": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "date-time"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {
"api_key": {
"type": "apiKey",
"in": "query",
"name": "token"
}
}
},
"security": [
{
"api_key": []
}
]
}