For anyone who wants to try building a PUBG match-analysis tool or analyze raw data themselves, this article explains how to create a PUBG API key.
Table of Contents
Open Table of Contents
Access the PUBG Developer Portal
- Go to the
PUBG Developer Portal. - Click “Login” at the top of the page, then create an account with your email address and password.
Create an application
-
Click “Get your own API key” on the dashboard after logging in.
-
A form for the required details will appear. Enter the following:
- Application Name: the name of your tool or project
- Application Description: a brief description of what you will use the API for
- Application Website (optional): the URL of your website or GitHub repository
-
Press the “Create Application” button to create the application.
Get the API key
Once you create the application, you can check the API key on a screen like the one below.
Test request
Check whether the API key works by calling a suitable API.
If the response is 200 OK, it worked.
curl -g "https://api.pubg.com/shards/$platform/players?filter[playerNames]=$playerName" \
-H "Authorization: Bearer *** \
-H "Accept: application/vnd.api+json"
Reference: Official documentation
By the way, a freshly created API key has a rate limit of 10 requests per minute. During development, it is more comfortable to switch between multiple keys.
When you reach the stage of publishing your app, you can also request a higher limit. It is totally fine to first build something that works and quickly submit the request 🐜
![[PUBG] I Released Steins.GG, a Match Analysis System!](https://blog.devkey.jp/en/posts/release-steinsgg/index.png)
![[PUBG] I Gave the Limited-Release Match Analysis System a Massive Update](https://blog.devkey.jp/en/posts/renewal-steinsgg/index.png)
![[PUBG] I Revived the Steins.GG Match Analysis System as a Limited Release](https://blog.devkey.jp/en/posts/steinsgg-is-back/index.png)
![[PUBG] Lessons from Building and Operating Steins.GG, a Match Analysis Web App with 80,000 Cumulative Users](https://blog.devkey.jp/en/posts/steinsgg-lessons-learned/index.png)
![[PUBG] My Experience Working as an Analyst for a Top-Division Pro Team](https://blog.devkey.jp/en/posts/my-pro-league-analyst-experience/index.png)