Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

URLhttps://api.statscore.com/v2/skins
MethodGET

Description

Returns a set of skins related to participants
Cache60 seconds
Authorization requiredYes


Method parameters

NameData typeDescription
There are no method parameters in this resource



Query parameters
NameData typeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
participants_idsxsd:string

Participants identifiers, separated by a comma (e.g. [397, 398])

limitxsd:int

Determines maximum number of returned records on page. Used in paginated data. Default value is 50

Possible values: 5, 10, 25, 50, 100

Method calling examples

Link
Description
https://api.statscore.com/v2/skins?token={{YOUR_TOKEN}}Returns a list of all skins in JSON format
https://api.statscore.com/v2/skins?token={{YOUR_TOKEN}}&participants_ids=38,42Returns skins (with patterns ID and colourscolors) for a multiple participants (ID=38 and ID=42) in JSON format

Output elements

Skins > skin


idUnique identifier for the skin
participant_idUnique identifier of the participant
pattern_idUnique identifier of the pattern
first_colorColor-hex of the first color
second_colorColor-hex of the second color
third_colorColor-hex of the third color


...