Self-Serve

Get Self Serve Player Overall Stats

Changed on

Migrated from the following legacy PLG API route(s):

  • self-serve-post-overall-stats: https://api.preciser.io/self-serve-player-overall-stats/*

The legacy URL's organization segment is replaced by the League request header, allowing the same handler to select any authorized league database.

get/api/v1/self-serve/players/{player_name}/overall-stats

Request

  • Base URL
    https://developer.preciser.io
  • URL
    https://developer.preciser.io/api/v1/self-serve/players/{player_name}/overall-stats
  • Auth
    none declared. Required headers: x-api-key, League

Path parameters

player_namestring required

Headers

x-api-keystring required

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

object[] required

Changes

    • breaking

      the header request parameter League became required

    • breaking

      the header request parameter x-api-key became required

    • breaking

      header request parameter League list-of-types was narrowed by removing types null

    • breaking

      header request parameter x-api-key list-of-types was narrowed by removing types null

    • info

      for the header request parameter League, the type was generalized from no type to string

    • info

      for the header request parameter x-api-key, the type was generalized from no type to string