API для Grow and Dominate 2x Growth (PvP/PVE)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286990876949520,
"domain": null,
"id": 9130059,
"ip": "169.150.213.159",
"port": 7777,
"query": 27017,
"project_id": null,
"color": 0,
"city": "London",
"description": null,
"game": 1088090,
"owner": null,
"boosts": 1,
"last_offline": 1779306183,
"last_online": 1781475053,
"icon": null,
"name": "Grow and Dominate 2x Growth (PvP/PVE)",
"connect": "169.150.213.159:7777",
"request": "169.150.213.159:27017",
"map": null,
"gamemode": "Day of Dragons",
"version": "1.0.0.0",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1747158775,
"last_update": 1781475053,
"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": 20,
"language": "en",
"parked": false,
"app": {
"id": 45862,
"steam_id": 1088090,
"name": "Day of Dragons",
"url": "day-of-dragons"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9130059");
$data = json_decode($json, true);
var_dump($data);