• Hello

    First of all, great plugin!

    Second, I was trying to import football (soccer?) matches information, including replacements and minuted played by each player, but I cannot see where I can put that information when I batch upload the information via CSV.

    Third, if I upload the information of a match that is already in the system, will it be duplicated or overwrited?

    Many thanks!

    Javier

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @madestro ,

    To import info for an event you can use two ways, but I am afraid none of them currently supports replacements (if you mean substitutions). You can import all other performances (like cards, goals etc).

    One way is to use the Event Import tool with which you can import events with teams, outcomes, players and performances all at once. The downside of this method is that if the fixture is already at your database, this tools will duplicate it…

    The other way is to use the Box score Import tool with which you can import the performance data per team on each event. That way you will not duplicate your events. The downside of this method is that you need to do it for every event and every team participating this event. To find this import tool see the screenshot below:

    Thanks,
    Savvas

    Thread Starter madestro

    (@madestro)

    Thanks, I think I can use the REST API to do what i want ??

    but… I can put the minute for cards/goals but I think I cannot do it for substitutions, which is weird because all of them go to the sp_timeline meta data

    the JSON I receive is like this

    ? ? ? ? ? “yellowcards”: “1 (34′)”,

    ? ? ? ? ? “redcards”: “1 (48′)”,

              “owngoals”: “”,

             “status”: “sub”,

    ? ? ? ? ? “sub”: “13”

    I tried to change the “sub “:”13” to “sub”:”13 (65′)” but it didn’t work, do you know the real syntax for that? or where in the code I can change the parser to include it?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘import matches with replacements (or minutes played)’ is closed to new replies.