đ API Tokens
Manage your API tokens for external application access
âšī¸ API Usage
Base URL: {{ request.url_root }}api/
Authentication: Include your token in the Authorization header:
Authorization: Bearer YOUR_TOKEN_HERE
Available Endpoints:
GET /api/fixtures- List all fixturesGET /api/matches- List all matchesGET /api/match/<id>- Get match details
Your API Tokens
| Name | Status | Created | Expires | Last Used | Actions |
|---|---|---|---|---|---|
| {{ token.name }} | {% if token.is_valid() %} Active {% elif token.is_expired() %} Expired {% else %} Revoked {% endif %} | {{ token.created_at.strftime('%Y-%m-%d %H:%M') }} | {{ token.expires_at.strftime('%Y-%m-%d %H:%M') }} |
{% if token.last_used_at %}
{{ token.last_used_at.strftime('%Y-%m-%d %H:%M') }}
{% if token.last_used_ip %}
from {{ token.last_used_ip }} {% endif %} {% else %} Never used {% endif %} |
{% if token.is_active and not token.is_expired() %}
{% endif %}
|
No API tokens yet
Create your first API token to start accessing the API