API dla GamingStammtisch[DE/EU] Vanilla+ | Monthly |hosthavoc.com
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 111,
"fps_avg": 113,
"entities_count": 66028,
"world_seed": 864820376,
"world_size": 3500,
"steam_id": "90286604951052295",
"domain": null,
"id": 11260059,
"ip": "144.76.92.119",
"port": 28025,
"query": 28027,
"color": 0,
"city": "Falkenstein",
"description": "![GamingStammtisch[DE/EU] Vanilla+ | Monthly |hosthavoc.com](https://i.imgur.com/HE1bE6e.png)\nRust GamingStammtisch DE Modded Server mit DynamicMonuments RTM und RaidableBases. Entspannter Server fuer faire Spieler mit weniger toxischem Gameplay als Vanilla. Grosse NPC Base Events dynamische Monumente und fahrender Vendor sorgen fuer Abwechslung. Monatlicher Wipe stabile Performance und aktive Administration. Hol dir ein kuehles Getraenk und werde Teil unserer Community",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779249782,
"last_online": 1780608633,
"icon": null,
"name": "GamingStammtisch[DE/EU] Vanilla+ | Monthly |hosthavoc.com",
"connect": "144.76.92.119:28025",
"request": "144.76.92.119:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555186,
"last_update": 1780608633,
"banned": false,
"wipe": 1780597403,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4258,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11260059");
$data = json_decode($json, true);
var_dump($data);