REST API and events performance
-
hi.
how can i edit player’s performance inside event via WP REST API using players name or at least player’s post slug? if its not possible how can get player’s id by name, i have around 550 players in my database, one api request returns maximum 100 results, so i have to make 6 requests to find my player by name and only then to get id, is there other way how to do it? Im going to have around 2000 players, its not good to make 20 requests just to get player’s id…and i dont understand how to set event outcome using rest api, is it possible at all ?
i refresh each post event every time and then outcome setting up automatically, but id like to do it via rest api as well.. its pretty anoying to refresh 50-100 events every time to set outcome… also the question is will then leagues tables update points/goals data automatically after outcome has been set up this way ?thanks for your answer.
regards.
- The topic ‘REST API and events performance’ is closed to new replies.