How to Use and Setup API in Arsenal Online

Learn how to use the Arsenal Online API to access game data.

ملخص

The Arsenal API allows developers to access game data.

This data can be used to create stat trackers, Discord bots, or your own custom GUI interface.

A basic understanding of HTTP is recommended since the API uses GET requests.

لمزيد من المعلومات, check the official API page.

يثبت

First retrieve the currently active API URL.

This URL can change which is why you should first retrieve it from the above TXT file.

Then you can make a GET request to retrieve data using the following format:

<URL>/api/<Query>

Parameters are passed as query strings. Results are passed as JSON objects.

Queries

Here you can find all available queries.

Retrieves the top 10 players for a game mode.

getTopScores(gameModeId)

Retrieves the top 10 players by total kills.

getTopPlayers()

Retrieves player data by username.

getPlayerData(اسم المستخدم)

Retrieves currently online players.

getOnlinePlayers()

Retrieves weapon data by id.

getWeaponData(weaponId)

Retrieves mod data by id.

getModData(modId)

Example Usage

هذا الدليل حول Arsenal Online كتب بواسطة Wilkin. يمكنك زيارة المنشور الأصلي من هذا حلقة الوصل. إذا كان لديك أي مخاوف بشأن هذا الدليل, من فضلك لا تتردد في الاتصال بنا هنا.

عن المؤلف