Usage
Getting an API Token
- 1Subscribe to the premium plan
- 2Open account settings page
- 3Click 'Generate Token' in the API Token section
- 4Copy and save the generated token
*If you lose the token, please regenerate it.
Endpoints
See the detailed API documentation below. API 문서
| GET /api/v1/tournaments - List tournaments |
| GET /api/v1/tournaments:id - Get tournament details |
| POST /api/v1/tournaments - Create tournament |
| PATCH /api/v1/tournaments:id - Update tournament |
| DELETE /api/v1/tournaments:id - Delete tournament |
| GET /api/v1/leagues - List leagues |
| GET /api/v1/leagues:id - Get league details |
| POST /api/v1/leagues - Create league |
| PATCH /api/v1/leagues:id - Update league |
| DELETE /api/v1/leagues:id - Delete league |
Sample Code
Example using curl:
curl -X GET "https://the-tournament.net/api/v1/tournaments" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -H "Content-Type: application/json"
Important Notes
- Keep your API token secure and do not expose it to third parties
- Rate limit: 60 requests per minute
- Regenerating a token invalidates the old one
- API integration requires technical knowledge. Please contact us if you have any questions