API für Naked & Afraid | Vanilla | EU
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 95724,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90286235630904330",
"domain": null,
"id": 10978817,
"ip": "65.21.78.175",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Helsinki",
"description": "\nYou wake up with a rock, a torch, and a whole lot of bad luck.\r\n\r\nYou get;\r\n❈ Authentic rock combat.\r\n❈ Surprisingly emotional server stability.\r\n❈ Limited life expectancy.\r\n❈ Unknown levels of paranoia.\r\n\r\nSpawn. Panic. Repeat.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780588414,
"last_online": 1779901824,
"icon": null,
"name": "Naked & Afraid | Vanilla | EU",
"connect": "65.21.78.175:28000",
"request": "65.21.78.175:28001",
"map": "Synecdoche Islands",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769901013,
"last_update": 1780588414,
"banned": false,
"wipe": 1779038178,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10705,
"language": "fi",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10978817");
$data = json_decode($json, true);
var_dump($data);