Tournament Endpoints
Use this enpoints to retrieve data about tournaments.
GET /tournament/:id
Get information about a tournament.
Parameters
Required | Parameter | Description | Example |
---|---|---|---|
Yes | api_key | Key needed to access API | &api_key=RNDOAMGNAJTGQWKQ |
Example
https://api.ifpapinball.com/v1/tournament/6?api_key=RNDOAMGNAJTGQWKQ
{ "tournament":{ "tournament_id":"6", "tournament_name":"MD Pinball Championship", "city":"Baltimore", "state":"MD", "country_name":"United States", "contact_name":"Some Dude", "website":"http:\/\/www.google.com", "events":[ { "event_id":"1", "event_name":"Main Tournament", "event_date":"2007-04-28", "winner_player_id":"17", "winner_first_name":"Paul", "winner_last_name":"Madison" }, { "event_id":"1", "event_name":"Main Tournament", "event_date":"2006-04-30", "winner_player_id":"17", "winner_first_name":"Paul", "winner_last_name":"Madison" }, { "event_id":"1", "event_name":"Main Tournament", "event_date":"2005-04-29", "winner_player_id":"4", "winner_first_name":"Josh", "winner_last_name":"Sharpe" } ] } }