sebastiaanspeck / matchy Goto Github PK
View Code? Open in Web Editor NEWA Laravel application that uses the sportmonks-soccer API
License: MIT License
A Laravel application that uses the sportmonks-soccer API
License: MIT License
Describe the solution you'd like
The French application.php is still using the English translations. Translate it to French.
Additional context
#1
Is your feature request related to a problem? Please describe.
Right now the countries are still in English.
Describe the solution you'd like
A countries.php with the translations of the countries.
TODO
Describe the bug
Additional context
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Is your feature request related to a problem? Please describe.
Codacy
Describe the solution you'd like
Renamed id to fixture_id e.a.
Additional context
There are more Codacy-issues than just the one named here.
Describe the solution you'd like
Right now if you get a lot of matches, you don't see the matchday/round of the matches. I think this will be helpful for readability. So the solution would be to add an header to the tables and with the matchday/round in it.
Additional context
For a example, see here
Describe the solution you'd like
Right now the blade-files use <table>
s to format the data. I think it will be better to rewrite these to grids inside the blade-files.
Additional context
If you need more context, comment on this issue.
Is your feature request related to a problem? Please describe.
The injuries that are included with the sidelined-players are still in English.
Describe the solution you'd like
I would like to have an injuries.php with the translations of the injuries for each language.
Additional context
Use the injuries.php as starting point and translate the injuries to the language you are translating to.
NOTE
The "knock" injury is something like a small minor injury.
Here I found a forum where they discussed it.
TODO
Is your feature request related to a problem? Please describe.
To support multiple-language, I created an English and Dutch language-file. These files can be improved and extend it with new languages.
Describe the solution you'd like
The language-files (called application.php
) for English and Dutch are a good start, but I think they can be improved and will eventually improve the localisation of this application.
Describe alternatives you've considered
I made a start to translate all the English labels to Dutch, but I am not yet satisfied with all translations.
Additional context
Add any other context or screenshots about the feature request here.
TODO
Is your feature request related to a problem? Please describe.
Fix unnecessary else-statement
Instead of copying SoccerAPIClient.php
manually to the vendor
folder, I'm proposing an artisan command that can be called on step 7 of the installation. I can work for the PR if it's OK
Is your feature request related to a problem? Please describe.
Right now the top scorers are not shown for World Cup.
At this moment this is no issue for Champions League and Europa League, but this will become an issue when those tournaments reach knock-out phase
Describe the solution you'd like
Show the top scorers for the World Cup (not only the final but the whole tournament)
Additional context
I think we need to use aggregated endpoint here:
$soccerAPI->topscorers()->setInclude($includeTopscorersAggregated)->aggregatedBySeasonId($league->current_season_id)->aggregatedGoalscorers->data;
As soon as I browse the URL, this shows up. And nothing seems to be working :(
The README file looked like it has floating parenthesis and made it harder to digest. Someone should definitely enter their API key in the .env and not any other file.
Fix Codacy-issue
Is your feature request related to a problem? Please describe.
I want to show the top-10 top scorers for all leagues.
Describe the solution you'd like
Some leagues don't have topscorers-coverage (mostly cups), to determine this, you can view it using
$league->coverage->topscorer_goals
and if it returns false, there is no topscorers-coverage
Some leagues are cups, but do have topscorers-coverage (like Champions League). For these leagues I only want the topscorers for the group-stage and the knock-out afterwards, so exclude the qualifying topscorers.
Some leagues are no cups and do have topscorers-coverage (mostly competitions like Premier League). For those leagues I only want the topscorers from the Regular Season-stage.
Look in the API-docs for more information about the endpoints. If you want to use the aggregatedTopscorers, copy the folder to vendor/kirill-latish.
Test your solution with the next leagues:
Preferably I don't want to have hardcoded the leagues that use specific cases. I want a dynamic solution, so that if we add more leagues later on, this issue doesn't reappears.
Describe alternatives you've considered
#36 #46
We tried several things, but the ultimate solution hasn't been found yet.
Additional context
Describe the solution you'd like
The Italian application.php and cup_rounds.php is still using the English translations. Translate it to Italian.
Additional context
#1
Additional context
Added later
Describe the solution you'd like
The German application.php and cup_rounds.php is still using the English translations. Translate it to German.
Additional context
#1
More information will be added soon.
Added a SPORTMONKS_API_TOKEN to the .env.sample so people don't have to add it themselves when the file is copied. This would hopefully make setting up the repo just a little easier.
In english application file, "Last fixture" is written in dutch "Laatste wedstrijd".
Describe the solution you'd like
Right now the world-flag is changed to the "Unknown"-flag. If someone wants to design a world flag like the one down here, it would be awesome!
Additional context
The flag is good enough in 16 shiny version, but I you want you can also make it for the other formats (24, 32, 48, 64, icns, ico) and the flat version.
Describe the bug
An error occur when you try to access the livescore and fixture by date urls. This appear to be happening because the method setLeagues
doesn't exist anymore in the SoccerAPIClient objects
To Reproduce
Steps to reproduce the behavior:
php artisan serve
livescore
or today
linkExpected behavior
The requested pages should be loaded correctly
Desktop (please complete the following information):
Which leagues are you missing right now?
https://www.sportmonks.com/products/soccer/plan/pro-plan
Leave a comment here which leagues you are missing.
Hi,
Is there any demo website?
The pages take several seconds to load. Improve the performance of the pages loading
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.