module PUBG::Client::Match

Methods for Match API

@see documentation.playbattlegrounds.com/en/matches-endpoint.html

Public Instance Methods

match(id) click to toggle source

Find a single match by ID

@param id [String] Match ID @example Find match

client.match('967f6581-31e2-4402-9661-8f020c68d87b')

@see documentation.playbattlegrounds.com/en/matches-endpoint.html

# File lib/pubg/client/match.rb, line 13
def match(id)
  path = ['shards', @region, 'matches', id].join('/')
  get(path)
end