Sentitrac GPT
Sentitrac GPT · GPT-Aktionen
Sports News via ndricks Sports API
Get the latest information about sport teams you care about (NBA, NFL, NHL, and MLB). Just mention a team in chat!
GET /sports/teamGet Team InfoReturns news about a specific team based on the provided team name (IE Golden State Warriors).
GET /nba/betsGet NBA Moneyline Picks by SentitracReturns the NBA Moneyline Picks by Sentitrac for the given date. If in the past, it will include the result and whether the pick was correct.
Ursprüngliches API-Schema
{
"openapi": "3.0.1",
"info": {
"title": "Sports News via ndricks Sports API",
"description": "Get the latest information about sport teams you care about (NBA, NFL, NHL, and MLB). Just mention a team in chat!",
"version": "v1"
},
"servers": [
{
"url": "https://api.ndricks.com/api"
}
],
"paths": {
"/sports/team": {
"get": {
"operationId": "getTeamInfo",
"summary": "Get Team Info",
"description": "Returns news about a specific team based on the provided team name (IE Golden State Warriors).",
"parameters": [
{
"name": "team",
"in": "query",
"description": "The name of the team to fetch information for.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/getStoriesResponse"
}
}
}
}
}
}
},
"/nba/bets": {
"get": {
"operationId": "getNBABets",
"summary": "Get NBA Moneyline Picks by Sentitrac",
"description": "Returns the NBA Moneyline Picks by Sentitrac for the given date. If in the past, it will include the result and whether the pick was correct.",
"parameters": [
{
"name": "date",
"in": "query",
"description": "The date of the NBA games to fetch picks for.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/getNBABetsResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"getNBABetsResponse": {
"type": "object",
"properties": {
"games": {
"type": "array",
"items": {
"type": "object",
"properties": {
"home_team_name": {
"type": "string"
},
"away_team_name": {
"type": "string"
},
"home_team_image_url": {
"type": "string"
},
"away_team_image_url": {
"type": "string"
},
"home_team_sentiment": {
"type": "string"
},
"away_team_sentiment": {
"type": "string"
},
"pick_home": {
"type": "string"
},
"pick_result": {
"type": "string"
},
"pick_rationale": {
"type": "string"
}
}
},
"description": "The list of NBA Moneyline Picks by Sentitrac."
}
}
},
"getStoriesResponse": {
"type": "object",
"properties": {
"todos": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of stories."
}
}
}
}
}
}