API для WaitingFor1.0
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286931027419156",
"domain": null,
"id": 3206959,
"ip": "176.57.143.46",
"port": 28115,
"query": 28116,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 1326470,
"owner": null,
"boosts": 1,
"last_offline": 1781465003,
"last_online": 1781289074,
"icon": null,
"name": "WaitingFor1.0",
"connect": "176.57.143.46:28115",
"request": "176.57.143.46:28116",
"map": "Custom",
"gamemode": "Sons Of the Forest",
"version": "0.11.3.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1709468558,
"last_update": 1781465003,
"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": 2024,
"language": "de",
"parked": false,
"app": {
"id": 1569757,
"steam_id": 1326470,
"name": "Sons Of The Forest",
"url": "sons-of-the-forest"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/3206959");
$data = json_decode($json, true);
var_dump($data);