How to sort within the JSON output
-
Hello,
I configured this list (Top Goal Scorer of a football team) to answer the question: Who scored the most goals so far? I tried now to find the correct query to create a JSON call. The JSOn URL is http://3ecke11er.de/wp-json/sportspress/v2/lists/3468 but it is ordered based on the player id within the “data” section.
So: How can I create a JSON output based in the “goals” attribute with is similar to the HTML output?
The page I need help with: [log in to see the link]
The topic ‘How to sort within the JSON output’ is closed to new replies.