Support » Plugin: SportsPress - Sports Club & League Manager » Syntax of a API call to retrieve player stats

  • Hello everybody,

    i am a newby in using api calls to retrieve information using sportpress but I try to provide external services with statistics around my loved club.

    I installed the API v2 plugin and tried to call an endpoint but no json was displayed. Instead an error message was shown.

    “code”: “rest_no_route”,
    “message”: “Keine Route für URL und Request-Methode gefunden”,
    “data”: {
    “status”: 404
    }
    }

    Can you give me an exampel how to design such a call to display player stats in a JSON format.

    use case: I would like to integrate stats into my chatbot using GET to retrieve these information.

    Thank you for your help.
    Erik

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Syntax of a API call to retrieve player stats’ is closed to new replies.