Insurgency
API для [GGA] GermanGamerAllianz - COOP Hardcore*TEST*
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10795798json
{
"response": {
"steam_id": "90284498603774993",
"domain": null,
"id": 10795798,
"ip": "176.9.10.34",
"port": 27400,
"query": 27400,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 222880,
"owner": null,
"boosts": 1,
"last_offline": 1774360316,
"score": 0,
"last_online": 1776343218,
"icon": null,
"name": "[GGA] GermanGamerAllianz - COOP Hardcore*TEST*",
"connect": "176.9.10.34:27400",
"request": "176.9.10.34:27400",
"map": "tell_coop",
"gamemode": "Insurgency",
"version": "2.4.2.4",
"numplayers": 5,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1766876006,
"last_update": 1776343218,
"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": 5,
"language": "de",
"parked": false,
"app": {
"id": 13,
"steam_id": 222880,
"name": "Insurgency",
"url": "insurgency"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10795798");
$data = json_decode($json, true);
var_dump($data);