laliga_competition
Retrieve a La Liga competition's details (id, slug, name, opta_id) by providing its slug, such as 'primera-division'. Use this to look up competition data without needing a numeric ID.
Instructions
One competition by SLUG (e.g. primera-division). Numeric id 404s — use the slug.
Returns: {competition:{id, slug, name, opta_id}}
Auth: works without a key; LALIGA_SUBSCRIPTION_KEY unlocks more if set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Competition slug (primera-division, segunda-division, primera-division-femenina). Required — part of the URL path. |