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!

Asunto: Sokker Asistente

2023-02-02 08:44:09
Hi Terrion

Now the skills are visible to NT coaches. Why don't extend the skill data grabbing from NT coach account through the CORS function? I mean, the skills update feature of the club team could be extended to NT. This could be a powerful feature, I hope simple because it's already working correctly for club team :)
2023-02-02 09:03:37
Sure, can you confirm if you can see the skills in the XML interface?
2023-02-02 09:43:19
Nuuuu. I can't, but it's the first time that I try to load a xml page. I can see only the public data, while I can see the skills of my club players :(
2023-02-02 09:52:01
For instance, i try to load https://sokker.org/xml/player-38509679.xml. It's a spare player of my club. That's the result

<player>
<ID>38509679</ID>
<name>Giulio</name>
<surname>Beretti</surname>
<countryID>10</countryID>
<age>22</age>
<height>171</height>
<weight>63.2</weight>
<BMI>21.60</BMI>
<teamID>44454</teamID>
<youthTeamID>44454</youthTeamID>
<value>213000</value>
<wage>4300</wage>
<cards>0</cards>
<goals>0</goals>
<assists>0</assists>
<matches>0</matches>
<ntCards>0</ntCards>
<ntGoals>0</ntGoals>
<ntAssists>0</ntAssists>
<ntMatches>0</ntMatches>
<injuryDays>0</injuryDays>
<national>0</national>
<skillForm>1</skillForm>
<skillExperience>1</skillExperience>
<skillTeamwork>0</skillTeamwork>
<skillDiscipline>0</skillDiscipline>
<transferList>0</transferList>
<skillStamina>2</skillStamina>
<skillPace>1</skillPace>
<skillTechnique>2</skillTechnique>
<skillPassing>6</skillPassing>
<skillKeeper>1</skillKeeper>
<skillDefending>7</skillDefending>
<skillPlaymaking>0</skillPlaymaking>
<skillScoring>9</skillScoring>
<trainingPosition>1</trainingPosition>
<isInTrainingSlot>false</isInTrainingSlot>

</player>

I can't load the last rows (the bold ones) of the Swiss players that I can see the skills but are not of my club
2023-02-02 10:30:45
Yeah, it's not visible in XML. I expected that, because before you couldn't see skills of players on TL in XMLs as well, and it uses the same mechanism for showing skills. I will ask kryminator if he can tell Raul / devs if they could add skills there, but I don't think Raul wants to use devs time for improving XMLs :P

Maybe it's time to start using api calls instead? You should see his skills in this:
https://sokker.org/api/player/38509679
2023-02-02 10:39:56
GREAT. Yes, with API I can see the skills of a Swiss player with visible skills to me :)
2023-02-02 10:44:44
I can do It, then. I already tested a library to parse json files
(editado)
2023-02-02 20:30:57
Monte para Terrion
HTTP Status 404 – Not Found :/
2023-02-02 21:57:21
Terrion para Monte
Fixed

The disk space, again. Someday I will learn how to fix It before it crashes, I hope :P
2023-02-02 22:02:22
in checking the disk space using java you have the following method in java.io File class
https://javatutorialhq.com/java/example-source-code/io/file/check-disk-space-java/
getTotalSpace()
getFreeSpace()
2023-02-02 22:33:48
I have it:



The problem is that I couldn't find the missing space anywhere. In the end I rebooted the whole server and It appeared again :)
(editado)
2023-02-03 18:18:04
ringhiostarr to tsolias

Hi Terrion

Now the skills are visible to NT coaches. Why don't extend the skill data grabbing from NT coach account through the CORS function? I mean, the skills update feature of the club team could be extended to NT. This could be a powerful feature, I hope simple because it's already working correctly for club team :)


+1 great idea
2023-02-03 18:32:41
add donate button so your job can be rewarded you deserve at least free plus!
2023-02-03 18:36:23
The details of the Paypal account could be added for donation button.
They are found on the first page of the topic.
2023-02-03 18:48:40
Nice i donate it for beer:) cheers mate
2023-02-05 12:56:53
Thx mate :)

I'm trying to access the API but I'm getting: "401 Unauthorized for https://sokker.org/api/player?filter%5Bteam%5D=5661" :/