API для Rusted Noobs Solo Only x2
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 106471,
"world_seed": 993342437,
"world_size": 4250,
"steam_id": "90286580429893657",
"domain": null,
"id": 4126355,
"ip": "159.69.226.146",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Nuremberg",
"description": "\nWelcome to Rusted Noobs SOLO ONLY\r\n SERVER INFO:\r\nBlueprints Wipe Monthly Every Force Wipe!\r\nGather rates x2 (Sulfur x1)\r\nComponent-Resources Stack Size Doubled!\r\nUpkeep 50%\r\nRecyclers in all monuments!\r\nDrone Markeplace in all safezones!\r\nNPC DRIVEN TAXIS (VIPs Only)\r\nJoin Our Friendly Non Toxic Community!\r\nDiscord: https://discord.gg/gjsBqd3Jun (or hit VIEW WEBPAGE button!)\r\nJoin our Discord for Map wipe Schedules! Also use Discord for Reports! \r\nDDoS Protected\r\nNo Lag, Non playing Active Admins\r\nServer Rules:\r\nNo racist,homophobic or any kind of bad language\r\nNo Teaming\r\nNo Raiding/Roaming/Farming with other players\r\nNo bagging other players\r\nBase giveaways are not allowed\r\nNo free items giveaways\r\nYou can however give tier 1 items to new spawns\r\nTrades Only in safe zones, shop fronts or vending machines\r\nAny kind of teaming will result in a ban for both players\r\nVac Banned players will get banned!\r\nToxic players will get banned!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780542864,
"last_online": 1780594229,
"icon": null,
"name": "Rusted Noobs Solo Only x2",
"connect": "159.69.226.146:28025",
"request": "159.69.226.146:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1714755157,
"last_update": 1780594229,
"banned": false,
"wipe": 1779366641,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1582,
"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/4126355");
$data = json_decode($json, true);
var_dump($data);