API für Rusty Runts: EU/Vanilla/Solo/Duo/Trio
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 205,
"fps_avg": 203,
"entities_count": 82665,
"world_seed": 481981,
"world_size": 4500,
"steam_id": "90286582605453316",
"domain": null,
"id": 9640604,
"ip": "198.244.254.40",
"port": 28080,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nWelcome to Rusty Runts, \r\nWith Vanilla Gameplay, Custom Handmade 4500 map and Standard Monuments, some with a twist.\r\nWe wipe Weekly on Thursday at 7PM GMT \r\nWe have 2 Simple Rules...\r\n1: No Griefing other players if you can help it \r\n2: No Spamming Chat.\r\n Thats it !\r\nFancy Something a bit more Easygoing?\r\nCheck out Rusty Runts 2x, our Modded Server! \r\nSame map but with Free Skins & DLC, Custom Monuments, Vehicles and Events.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779897805,
"last_online": 1780583437,
"icon": null,
"name": "Rusty Runts: EU/Vanilla/Solo/Duo/Trio",
"connect": "198.244.254.40:28080",
"request": "198.244.254.40:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1751297588,
"last_update": 1780583437,
"banned": false,
"wipe": 1778182882,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3411,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"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/9640604");
$data = json_decode($json, true);
var_dump($data);