Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for matches #112

Open
Olen opened this issue Apr 25, 2024 · 3 comments · May be fixed by elliot-100/Spond-classes#148
Open

Add support for matches #112

Olen opened this issue Apr 25, 2024 · 3 comments · May be fixed by elliot-100/Spond-classes#148
Labels
enhancement New feature or request

Comments

@Olen
Copy link
Owner

Olen commented Apr 25, 2024

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

@Olen
Copy link
Owner Author

Olen commented Apr 25, 2024

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

@elliot-100 elliot-100 added the enhancement New feature or request label Apr 25, 2024
@elliot-100
Copy link
Collaborator

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).

@Olen
Copy link
Owner Author

Olen commented Apr 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants