Skip to content
Discussion options

You must be logged in to vote

Your team ID's fine, 133629 is the right one. The problem is the API key the widget falls back to when you don't give it one - TheSportsDB now rejects it with "Invalid Premium API key", so the request fails whatever team you pick.

Give it TheSportsDB's free key instead:

      - type: sports-scores
        options:
          teamId: 133629
          apiKey: '123'

For a team, the free key only returns one match though - the last result, or the next fixture if you switch to upcoming. One of thier paid keys raises that to 10, and it goes in the same apiKey field. Checked on 4.7, the current release.

Free key details are in TheSportsDB's API docs, and the widget's options are here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NotAFlightRisk
Comment options

Answer selected by lissy93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants