API для Antistasi Ultimate LAN
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "w",
"region": -1,
"product": "Arma3",
"gametype": "bf,r222,n0,s3,i1,mf,lf,vf,dt,tanti,g65545,he58bb1c6,f0,c-2147483648--2147483648,oLB,pw,e0,j0,k0,",
"dedicated": true,
"steam_id": "90291096337272846",
"domain": null,
"id": 13782935,
"ip": "45.142.137.225",
"port": 2302,
"query": 2303,
"project_id": null,
"color": 0,
"city": "Jdaidet el Matn",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1786978069,
"last_online": 1786982583,
"icon": null,
"name": "Antistasi Ultimate LAN",
"connect": "45.142.137.225:2302",
"request": "45.142.137.225:2303",
"map": "Tanoa",
"gamemode": null,
"version": "2.22.153995",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": null,
"country": "LB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1786978069,
"last_update": 1786982583,
"ban_reason": null,
"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": 4483,
"language": "ar",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13782935");
$data = json_decode($json, true);
var_dump($data);