Garry's Mod
API для ►Civil Networks ▌SCP USA ▌C.I. ▌Custom ▌Breach Queue�
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1462821json
{
"response": {
"steam_id": "85568392924786664",
"domain": null,
"id": 1462821,
"ip": "45.62.160.32",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Chicago",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1775771523,
"score": null,
"last_online": 1775839823,
"icon": null,
"name": "►Civil Networks ▌SCP USA ▌C.I. ▌Custom ▌Breach Queue�",
"connect": "45.62.160.32:27015",
"request": "45.62.160.32:27015",
"map": "rp_site65_civilnetworks_10b",
"gamemode": "SCP-RP",
"version": "2025.03.26",
"numplayers": 30,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 53,
"add_date": 1697310490,
"last_update": 1775839823,
"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": 196,
"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/1462821");
$data = json_decode($json, true);
var_dump($data);