Open icedream opened 6 years ago
Will start working on it during the weekend.
So far the areas endpoint has been implemented, however since I continued work on this late, we ran into the issue that during the transition out of staging on June 1st, we lost access to match and competition data and because of that are no longer able to test the endpoints properly. Since there is barely documentation for v2, this would be the only way to get a sense of how things work with it.
@MAGICCC already emailed Daniel from football-data about this.
Got a mail back regarding getting access and yes it's working now. We can work on that later.
You mean while the V2(go-footballdata) released, v1 will deprecated?
@ACChe Yes, I very likely have to push support for v1 and support for v2 into separate branches (v1 would be frozen at that point) as the data structures and endpoints are completely different.
I am unfortunately unable to put the time into getting this library up to date at the moment as I am putting efforts into other projects. If anyone wants to help me on this and/or wants to suggest ideas on how to update this to current situation, please do so, I would greatly appreciate it! Thank you :)
Daniel just announced via e-mail that he is going to release version 2 of the API in the night to June 1st. Right now it is already available in staging. Unfortunately the API is mostly undocumented, so things I find out will be documented here, and then hopefully implemented asap.
Deadline for this implementation is either late summer as that will be deadline for data updates on v1 (which by the way will stay available) or end of this year where the API will no longer be supported officially if I read this correctly.
Below is the list of things that still need to be implemented:
{ count, filters, competitions: [ { id, area: { id, name }, name, code, currentSeason: { id, startDate, endDate, currentMatchday }, numberOfAvailableSeasons, lastUpdates }, ... ] }
{ id, area: { id, name }, name, code, currentSeason: { id, startDate, endDate, currentMatchday }, seasons: [ { id, startDate, endDate, currentMatchday }, ... ], lastUpdated }
Match object:
{ id, name, countryOfBirth, nationality }
assist
of whom?QUALIFICATION
,PLAY_OFF
,REGULAR_SEASON
,LAST_16
,QUARTER_FINAL
,SEMI_FINAL
,FINAL
null
(same asREGULAR
?),REGULAR
,EXTRA_TIME