Call of Duty 4: Modern Warfare
API для ^3NET-JAM.com ^2(HARDCORE)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9380048json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9380048,
"ip": "74.91.118.200",
"port": 28960,
"query": 28960,
"color": 0,
"city": "San Jose",
"description": null,
"game": 7940,
"owner": null,
"boosts": 1,
"last_offline": 1774697546,
"score": 0,
"last_online": 1775948413,
"icon": null,
"name": "^3NET-JAM.com ^2(HARDCORE)",
"connect": "74.91.118.200:28960",
"request": "74.91.118.200:28960",
"map": "mp_backlot",
"gamemode": "Call of Duty 4 - Modern Warfare",
"version": "1.7a",
"numplayers": 10,
"maxplayers": 22,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1747871354,
"last_update": 1775948413,
"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": 3,
"language": "en",
"parked": false,
"app": {
"id": 1629111,
"steam_id": 7940,
"name": "Call of Duty 4: Modern Warfare",
"url": "call-of-duty-4-modern-warfare"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9380048");
$data = json_decode($json, true);
var_dump($data);