Will To Live Online
API для RU-2 (No-PK)
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10432484json
{
"response": {
"steam_id": "90285168952502280",
"domain": null,
"id": 10432484,
"ip": "176.114.86.166",
"port": 5303,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 707010,
"owner": null,
"boosts": 1,
"last_offline": 1777545807,
"score": 0,
"last_online": 1777569722,
"icon": null,
"name": "RU-2 (No-PK)",
"connect": "176.114.86.166:5303",
"request": "176.114.86.166:27015",
"map": "Master Server",
"gamemode": "Russia Server #2",
"version": "0.6.18",
"numplayers": 83,
"maxplayers": 74,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759829528,
"last_update": 1777569722,
"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": 15,
"language": "ru",
"parked": false,
"app": {
"id": 18850,
"steam_id": 707010,
"name": "Will To Live Online",
"url": "will-to-live-online"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10432484");
$data = json_decode($json, true);
var_dump($data);