This guide will show you how to properly use Arsenal Online API to access the game informations and data.
ملخص
The Arsenal API lets developers get game data. You can use this data to make stat trackers, Discord bots, or your own special GUI interface.
It’s a good idea to know a bit about HTTP because the API uses GET requests.
To learn more, visit the official API page.
يثبت
To start, get the current API URL. It might change, so grab it from the TXT file above.
Once you have the URL, you can use it to get data with a GET request. The format should look like this:
<URL>/api/<Query>
You send parameters as query strings, and you’ll get results in the form of 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(username)
Retrieves currently online players.
getOnlinePlayers()
Retrieves weapon data by id.
getWeaponData(weaponId)
Retrieves mod data by id.
getModData(modId)
Example Usage
- Get the player data for username xwilkinx
- Get the top 10 اللاعبون
- Get the top 10 scores for Time Attack
هذا كل ما نشاركه اليوم من أجل هذا Arsenal Online مرشد. تم إنشاء هذا الدليل وكتابته في الأصل بواسطة Wilkin. في حالة فشلنا في تحديث هذا الدليل, يمكنك العثور على آخر تحديث باتباع هذا وصلة.