Spond icon indicating copy to clipboard operation
Spond copied to clipboard

Add support for matches

Open Olen opened this issue 1 year ago • 23 comments

Should probably refactor event to a class first, so match can be a subclass of event

Olen avatar Apr 25 '24 16:04 Olen

New parameters for matches:

 'matchEvent': True,
 'matchInfo': {
               'opponentName': 'Hasle-Løren Hvit',
               'opponentScore': 6,
               'scoresFinal': True,
               'scoresPublic': True,
               'scoresSet': True,
               'scoresSetEver': True,
               'teamName': 'Grüner lilla',
               'teamScore': 11,
               'type': 'AWAY'
},

type can be HOME and AWAY

Olen avatar Apr 25 '24 16:04 Olen

Can't help with this one -- at least not with real-world examples -- as Matches aren't relevant/available to my clubs (documentation on which sports are supported).

elliot-100 avatar Apr 25 '24 17:04 elliot-100

They are just regular events, but with a few more fields (noted in the first comment)

Olen avatar Apr 25 '24 18:04 Olen