Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Subject: »[news] XML Data Improvements

2024-02-04 13:50:42
I don't think you can filter by country

However, you can easily get all the transfers quickly, I do it in a loop:

https://sokker.org/api/transfer?filter[limit]=200&filter[offset]=X
with X starting at 0 and then X += 195 until you get 0 transfers in response, then I remove all the duplicates from the list where I store them, and after that I put new ones in db.

I change offset by less than 200 to be sure that I won't miss any transfers (they change positions when other transfers finish / new transfers appear)
2024-02-04 17:46:37
What a nice api, spamming all available data :-)

Thanks for your answers guys ;-)
2024-02-21 23:04:01
just in case any of You don't know - here is new API swagger-like page: https://sokker.org/apidoc.html
2024-02-23 09:18:00
hello guys, I'm new. How can I install SO?
2024-02-23 10:39:57
This is not the thread about SO, try reading it here:
forum_topic/ID_forum/1259/ID_topic/3481864/pg/6

@kryminator thx! Finally an api to get the tactics of the team :D But I miss NT tactics there :/
(edited)
2024-02-23 13:44:04
Just don't expect, every endpoint contains everything one would expect. Some probably don't work, some might be lacking some data returned (e.g. /lineup doesn't seems to return a lineup but does return some minor things), some might be stubs only. However, those which are used in sokker should work, except maybe deleting guestbook entries, but there is a task to fix it.
2024-02-24 13:33:22
Deleting record from guestbook doesn't work.
2024-02-24 13:58:49
yes, I just wrote it above, last sentence before yours
2024-02-24 14:06:31
<facepalm>
2024-02-24 15:13:15
Thanks Krym!
2024-03-15 22:10:42
If I use the following endpoint for a junior-league, it still returns max. 12 teams, regardless of the actual number of teams in the respective league:

/league/{leagueId}/table

This bug has existed eversince: Wouldn't this be very easy to fix?


.
(edited)
2024-03-15 23:04:15
maybe it would be but no one cares about junior leagues
junior leagues are just failure from the beginning, they never worked

but that EP has also a 'limit' filter, did You try that?
2024-03-15 23:07:38
nevermind, I have already checked on my junior league, it works, e.g. https://sokker.org/api/league/40532/table?filter%5Blimit%5D=99

here You have endpoints list:
https://sokker.org/apidoc.html
when You click on some endpoint you can further click schema to see some minor, but useful details
2024-03-16 09:42:33
Great, thank you very much :-). The endpoints list already helped me collecting data for my website in a simpler way. Btw: I now removed the login for sokker-manager.net (except for one section).
2024-04-05 00:36:03
does anyone know how to use filter ids on endpoint GET /team/:teamId/player?

in the apidoc page I linked earlier, related description doesnt say much and examples there are non-existent
2024-04-05 11:14:10
Edit: oh, filter ids. Didn't read it carefully :P
(edited)