API для [GER] CW:RP Phase 2 | RIG
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286648058122260,
"domain": null,
"id": 10986302,
"ip": "194.69.160.42",
"port": 27040,
"query": 27040,
"project_id": null,
"color": 0,
"city": "City of London",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1779139973,
"last_online": 1780734088,
"icon": null,
"name": "[GER] CW:RP Phase 2 | RIG",
"connect": "194.69.160.42:27040",
"request": "194.69.160.42:27040",
"map": "gm_flatgrass",
"gamemode": "DarkRP",
"version": "2026.04.29",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769902576,
"last_update": 1780734088,
"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": 2036,
"language": "en",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10986302");
$data = json_decode($json, true);
var_dump($data);