McPlayHD.net
  • Public API Documentation
  • Information
    • Getting Started
    • Changelog
  • Stats
    • FastBuilder
    • BedWars
    • Minesweeper
  • Player
    • Player Info
  • Objectives
    • Daily
Powered by GitBook
On this page

Was this helpful?

  1. Player

Player Info

Requesting general player information

PreviousMinesweeperNextDaily

Last updated 3 years ago

Was this helpful?

Player Info

get

Get a player's UUID, name and group by either their UUID or name.

Authorizations
Path parameters
playerstringRequired

name or uuid of the player

Query parameters
tokenstringOptional

deprecated

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

OK

{
  "status": 1,
  "path": "text",
  "timeStamp": "text",
  "processingTime": 1,
  "data": {
    "uuid": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "group": "PLAYER"
  }
}