Skip to content

PubgAPI

Martin Sileno edited this page Apr 25, 2018 · 3 revisions

This object is used to make authenticated requests to PUBG API.

This is required as first argument for all static methods that create an instance of an Entity (like Player or Match).

To instantiate it, simply pass your API_KEY (string) as first argument, and the platform/region you wish to use for requests.

new PubgAPI(API_KEY, PlatformRegion.PC_EU);

The possible values for the second argument can be found in the PlatformRegion enum, here is a list for convenience:

  • XBOX_AS
  • XBOX_EU
  • XBOX_NA
  • XBOX_OC
  • PC_KRJP
  • PC_JP
  • PC_NA
  • PC_EU
  • PC_OC
  • PC_KAKAO
  • PC_SEA
  • PC_SA
  • PC_AS
Clone this wiki locally