Military Conflict: Vietnam
API для Gamer Boiz
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9893683json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9893683,
"ip": "64.31.28.163",
"port": 39501,
"query": 39501,
"color": 0,
"city": "New York",
"description": null,
"game": 1012110,
"owner": null,
"boosts": 1,
"last_offline": 1776679402,
"score": 0,
"last_online": 1777650721,
"icon": null,
"name": "Gamer Boiz",
"connect": "64.31.28.163:39501",
"request": "64.31.28.163:39501",
"map": "mcv_usns_card",
"gamemode": "Classic | TeamDeathmatch",
"version": "1.38.0.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 12,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1753711100,
"last_update": 1777650721,
"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": 15,
"language": "en",
"parked": false,
"app": {
"id": 1611160,
"steam_id": 1012110,
"name": "Military Conflict: Vietnam",
"url": "military-conflict-vietnam"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9893683");
$data = json_decode($json, true);
var_dump($data);