V2 API Lookup
Lookup player milestones.
Lookup player milestones by player ID.
get/lookup/player_milestones/{idPlayer}
Request
- Base URLhttps://www.thesportsdb.com/api/v2/json
- AuthAPI key in header X-API-KEY
- TypeScripthttps://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/docs/lookup/player_milestones/:idPlayer/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idPlayerinteger required
The ID of the player to lookup milestones for.
Response
Player milestones details for the given player ID
Example response
{
"lookup": [
{
"id": "56",
"idPlayer": "34146304",
"strPlayer": "Cristiano Ronaldo",
"idTeam": "133612",
"idMilestone": "1672",
"strTeam": "Manchester United",
"strSport": "Soccer",
"strMilestone": "English Premier League Hat-Trick",
"strMilestoneLogo": "https://www.thesportsdb.com/images/media/milestone/logo/pnlc8e1661358277.png",
"dateMilestone": "2022-03-12"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.