Betarena / scores

We are building the first open-source live results and statistics platform with community involvement features for data insertion. The project includes a blockchain component that will allow participants to receive rewards based on their participation and also to stake the future Token of the platform.
GNU General Public License v3.0
18 stars 6 forks source link

Player missing information Avatar and Undefined Stats #1352

Closed jonsnowpt closed 1 year ago

jonsnowpt commented 1 year ago

Only no stats

migbash commented 1 year ago

NOTES

/player/matthew-craig/31238170 (AND) player/yago-de-santiago/37316864

Selected team from players team: [...] leads to a team > current_season_id value (season_id) that does not belong to that of the player_v2 > statistics > season_id (list). Thus, giving an error of undefined, as target season has not been queried. teamId: 19369 > current_season_id: 15060, where 15060 is not part of statistics: [...].

[1] 🟩 Solution (potential) either update to have each player with X > 0 teams to be linked to each of the teamId's, until target teams are checked against the players (statistics) > seasonId validity.

[2] 🟩 Solution (preferable) ultimately, it's a 🟠 Sportmonks issue, for not having the players > statistics property with the correct season_id's the player was a part of AND for having incorrect start: + end: dates for the player > teams property.

🟩 completed | In talks with Sportmonks

@jonsnowpt

ANSWER [2] |Youth Players 31238170 37316864, do not get end and start dates on any of their v3 teams data point property - because they are youth

ANSWER [2] | They are finally looking into this, and recognised it as an issue and should be fixed, and .statistics property should have the correct seasons for all players that have/haven't participated in.


NOTES

only no stats - 🟩 corrected

A UI issue regarding condition when not to show the widget sections.


NOTES

no image from source - 🟩 corrected

jonsnowpt commented 1 year ago

@migbash

In this case, I suggest you work this out with Sportmonks since you are better positioned to explain and move forward to a resolution.

jonsnowpt commented 1 year ago

@migbash

Still loading undefined stats:

https://scores.betarena.com/player/matthew-craig/31238170

https://scores.betarena.com/player/yago-de-santiago/37316864