API для Warland | Vanilla + | PvP | Solo / Duo | EU Biweekly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 202,
"fps_avg": 204,
"entities_count": 99270,
"world_seed": 1,
"world_size": 4096,
"steam_id": "90286498831651871",
"domain": null,
"id": 8297250,
"ip": "202.36.95.25",
"port": 26980,
"query": 26981,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nWelcome to Warland in Rust ( More Info in EXTERNAL WEBSITE )\r\n\r\n\r\nVanilla + | PvP | Solo / Duo | \r\nBiweekly Map & BP Monthly\r\nMap Synecdoche Islands\r\nShort Nights\r\nRemover Tool\r\nStacks 4k Wood / Stones / Metal Fragments / Ore\r\nRust + Enable\r\nActive Non-Playing Admin",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780591408,
"last_online": 1780375829,
"icon": null,
"name": "Warland | Vanilla + | PvP | Solo / Duo | EU Biweekly",
"connect": "202.36.95.25:26980",
"request": "202.36.95.25:26981",
"map": "Synecdoche Islands",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1743250210,
"last_update": 1780591408,
"banned": false,
"wipe": 1778604735,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10383,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8297250");
$data = json_decode($json, true);
var_dump($data);