Arma 2: Operation Arrowhead
API для The Thirst US East New York thethirstgame.com
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11487468json
{
"response": {
"steam_id": "90284610007132179",
"domain": null,
"id": 11487468,
"ip": "85.190.158.199",
"port": 10300,
"query": 10301,
"color": 0,
"city": "Clifton",
"description": null,
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1776520404,
"score": 0,
"last_online": 1776786669,
"icon": null,
"name": "The Thirst US East New York thethirstgame.com",
"connect": "85.190.158.199:10300",
"request": "85.190.158.199:10301",
"map": "Chernarus",
"gamemode": "TheThirstv4",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979680,
"last_update": 1776786669,
"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": 164,
"language": "en",
"parked": false,
"app": {
"id": 62,
"steam_id": 33930,
"name": "Arma 2: Operation Arrowhead",
"url": "arma-2-operation-arrowhead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11487468");
$data = json_decode($json, true);
var_dump($data);