API für Kitty Slayer's Lair
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 118,
"fps_avg": 117,
"entities_count": 48935,
"world_seed": 1337,
"world_size": 2850,
"steam_id": "90286537181485058",
"domain": null,
"id": 8479983,
"ip": "89.28.237.40",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Dallas",
"description": "\nBuilt for Friends • Open to All\r\nChill PvE • Custom Dungeons • Raidable Bases\r\nSkins Shop • Teleport • Stack Tweaks\r\nEvents & NPCs at Monuments\r\nRelax & Explore\r\nDiscord: https://discord.gg/2GRPYThtbj",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780594405,
"last_online": 1780446033,
"icon": null,
"name": "Kitty Slayer's Lair",
"connect": "89.28.237.40:28005",
"request": "89.28.237.40:28006",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1743926444,
"last_update": 1780594405,
"banned": false,
"wipe": 1778285466,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10191,
"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/8479983");
$data = json_decode($json, true);
var_dump($data);