API für Alaska Server
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 136,
"fps_avg": 135,
"entities_count": 106276,
"world_seed": 456789699,
"world_size": 4500,
"steam_id": "90286555812818948",
"domain": null,
"id": 8839144,
"ip": "64.87.39.101",
"port": 23442,
"query": 23444,
"color": 0,
"city": "San Jose",
"description": "\nPvE Day 1-26 no Raiding other people\n\nPvP Day 27 - 31 PvP and Raiding starts\n\nBetterNpc on every Monuments\n\nRules\n-No Killing, Stealing, or Looting\n-No Raiding/Griefing other Players Build/Base\n-Do not block access to Monuments\n-No inappropriate symbols or phrases on Signs\n-Don't beg for items or troll other players",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780344254,
"last_online": 1780560634,
"icon": null,
"name": "Alaska Server",
"connect": "64.87.39.101:23442",
"request": "64.87.39.101:23444",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1746129061,
"last_update": 1780560634,
"banned": false,
"wipe": 1780344282,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3029,
"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/8839144");
$data = json_decode($json, true);
var_dump($data);