Minesweeper

Requesting Minesweeper stats

Stats of a player (and season)

get

Get the Minesweeper stats of a player by their UUID or name. All times are in Milliseconds. If you want to get the average time, you need to divide the totalTime by the wins.

If you don't provide a specific season, the API will return the player's stats for the current season.

Authorizations
Path parameters
playerstringRequired

name or uuid of the player

Query parameters
tokenstringOptional

deprecated

seasonstringOptional

season number

Responses
200
The player has stats in that season.
*/*
get
GET /api/v1/minesweeper/stats/{player} HTTP/1.1
Host: mcplayhd.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "playerInfo": {
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "group": "PLAYER"
    },
    "stats": {
      "rank": 1,
      "points": 1,
      "timeBest": 1,
      "timeTotal": 1,
      "games": 1,
      "wins": 1,
      "mines": 1
    }
  }
}

Summed season stats of a player

get

Get the summed stats of all seasons of a player.

Authorizations
Path parameters
playerstringRequired

name or uuid of the player

Query parameters
tokenstringOptional

deprecated

Responses
200
The player has Minesweeper stats.
*/*
get
GET /api/v1/minesweeper/stats/{player}/all HTTP/1.1
Host: mcplayhd.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "playerInfo": {
      "uuid": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "group": "PLAYER"
    },
    "stats": {
      "games": 1,
      "wins": 1,
      "mines": 1
    }
  }
}

Top stats (of season)

get

Returns a list of the top Minesweeper players of a certain season.

If you don't provide a specific season, the API will return the top stats for the current season.

Authorizations
Query parameters
tokenstringOptional

deprecated

seasonstringOptional

season number

Responses
200
OK
*/*
get
GET /api/v1/minesweeper/top HTTP/1.1
Host: mcplayhd.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "top": [
      {
        "playerInfo": {
          "uuid": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "group": "PLAYER"
        },
        "stats": {
          "rank": 1,
          "points": 1,
          "timeBest": 1,
          "timeTotal": 1,
          "games": 1,
          "wins": 1,
          "mines": 1
        }
      }
    ]
  }
}

These stats will update every 10 seconds.

Global stats (of season)

get

Resturns the sum of all games, wins and mines defused in Minesweeper.

If you don't provide a specific season, the API will return the sums of all seasons.

Authorizations
Query parameters
tokenstringOptional

deprecated

seasonstringOptional

season number or "all"

Responses
200
OK
*/*
get
GET /api/v1/minesweeper/stats HTTP/1.1
Host: mcplayhd.net
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "games": 1,
    "wins": 1,
    "mines": 1
  }
}

These stats will update every 10 seconds.

Current season

get

Returns the current Minesweeper season.

Responses
200
OK
*/*
get
GET /api/v1/minesweeper/season HTTP/1.1
Host: mcplayhd.net
Accept: */*
200

OK

{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "season": 1
  }
}

These stats will update every 10 seconds.

Last updated

Was this helpful?