Counter-Strike
API для ROMANIA.FULLBOOST.RO V.I.P FREE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10433545json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10433545,
"ip": "2.59.134.238",
"port": 28015,
"query": 28015,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774486316,
"score": 0,
"last_online": 1776123610,
"icon": null,
"name": "ROMANIA.FULLBOOST.RO V.I.P FREE",
"connect": "2.59.134.238:28015",
"request": "2.59.134.238:28015",
"map": "de_dust2",
"gamemode": "Hosted by STRONG-HOST.DE",
"version": "1.1.2.7/Stdio",
"numplayers": 31,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 87,
"add_date": 1759835880,
"last_update": 1776123610,
"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": 1690,
"language": "de",
"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/10433545");
$data = json_decode($json, true);
var_dump($data);