API для NoobSurvival - US - Main - New Player Friendly
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 159,
"fps_avg": 138,
"entities_count": 199066,
"world_seed": 55634322,
"world_size": 6000,
"steam_id": "90286604462311429",
"domain": null,
"id": 11502408,
"ip": "135.148.137.64",
"port": 60404,
"query": 60406,
"color": 0,
"city": "Warrenton",
"description": "\nThis Rust server is for veteran and new players as well. We want new players to have a place to learn. If you are an asshole you will be banned. Nothing personal.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597469,
"last_online": 1780599631,
"icon": null,
"name": "NoobSurvival - US - Main - New Player Friendly",
"connect": "135.148.137.64:60404",
"request": "135.148.137.64:60406",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779207200,
"last_update": 1780599631,
"banned": false,
"wipe": 1780597457,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2073,
"language": "en",
"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/11502408");
$data = json_decode($json, true);
var_dump($data);