API для SPUTNIK - PvE Hardcore - relaxed survival with low upkeep
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286604069270551",
"domain": null,
"id": 9526950,
"ip": "136.243.69.189",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "\nWelcome =) Enjoy a more realistic but chill way with clean PvE in Hardcore-Mode.\r\nSignificantly reduced upkeep cost for bases and player-boats, larger 5k map sizes (more space, all monuments), reduced crate timer, ad-free Techno Radio Channel and other nice Details.\r\n\r\nActive Plugins:\r\n-TruePVE\r\n-Remove: /remove\r\n-Sign-Artist: /sil <url> or /sili adds currently held item icon to sign\r\n\r\nQuestions, Issues or Suggestions: ccc7000@yahoo.com\r\n\r\n\r\nBattlemetrics Server-Tag rs000000SSiz0rAi4002Q]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780602631,
"icon": null,
"name": "SPUTNIK - PvE Hardcore - relaxed survival with low upkeep",
"connect": "136.243.69.189:28015",
"request": "136.243.69.189:28017",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 4,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1750537860,
"last_update": 1780602631,
"banned": false,
"wipe": 1780595279,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1864,
"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/9526950");
$data = json_decode($json, true);
var_dump($data);