Counter-Strike
API для RESPAWN.INDUNGI.RO [DeathMatch CSDM] +18
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10671672json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10671672,
"ip": "38.79.154.77",
"port": 27394,
"query": 27394,
"color": 0,
"city": "Voluntari",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1772810549,
"score": 0,
"last_online": 1775804414,
"icon": null,
"name": "RESPAWN.INDUNGI.RO [DeathMatch CSDM] +18",
"connect": "38.79.154.77:27394",
"request": "38.79.154.77:27394",
"map": "de_dust2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 31,
"maxplayers": 32,
"bots": 1,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 98,
"add_date": 1764579537,
"last_update": 1775804414,
"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": 1272,
"language": "ro",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10671672");
$data = json_decode($json, true);
var_dump($data);