API für Noob Friendly - Working Parents
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 94,
"fps_avg": 90,
"entities_count": 172571,
"world_seed": 60,
"world_size": 5500,
"steam_id": "90286235258194959",
"domain": null,
"id": 11131344,
"ip": "157.85.93.119",
"port": 25115,
"query": 25116,
"color": 0,
"city": "Dallas",
"description": "Tired of getting on Vanilla Rust or some other high pop server and getting swacked\r\nCome on over and learn and enjoy the game.\r\nInstantCraft and Instant Recycle are turned on.\r\nRecyclers are located at all monuments and events.\r\nOfflines / Weekend Raids Only\r\nReport any violations via the report button or via the discord to Doc Hamburgler",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605216,
"last_online": 1779879023,
"icon": null,
"name": "Noob Friendly - Working Parents",
"connect": "157.85.93.119:25115",
"request": "157.85.93.119:25116",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770397351,
"last_update": 1780605216,
"banned": false,
"wipe": 1778196190,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10331,
"language": "en",
"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/11131344");
$data = json_decode($json, true);
var_dump($data);