sportmonks-soccer
sportmonks-soccer copied to clipboard
utf8 error in response
https://github.com/joesaunderson/sportmonks-soccer/blob/4740950246d483bcac88aa7263af0f2c6441ed5f/src/SoccerClient.php#L54
because of some reasons due to new changes in api,
return json_decode($response);
must be
json_decode(utf8_encode($response));
otherwise some of the values in the object being NULL even though there are values. I'm not sure if the repository is still being maintained but for sure a fix is required for the 2020 soccer stats.