API для = ARENA BRASIL 1 = FAVELA - discord.gg/arenabrasil
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630634,
"ip": "189.127.164.135",
"port": 7787,
"query": 7787,
"project_id": null,
"color": 0,
"city": "Bento Gonçalves",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1779976464,
"last_online": 1780680014,
"icon": null,
"name": "= ARENA BRASIL 1 = FAVELA - discord.gg/arenabrasil",
"connect": "189.127.164.135:7787",
"request": "189.127.164.135:7787",
"map": "ArBr_Sumario_INV_v1",
"gamemode": "Invasion",
"version": "v10.4.1.604352.2183",
"numplayers": 89,
"maxplayers": 96,
"bots": 0,
"secured": null,
"private": null,
"country": "BR",
"status": true,
"votes": 0,
"points": 125,
"add_date": 1763632692,
"last_update": 1780680014,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 49,
"language": "pt",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10630634");
$data = json_decode($json, true);
var_dump($data);