API dla Überlebe die Insel [PvE/DE] Bi-Weekly
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 98,
"fps_avg": 96,
"entities_count": 103072,
"world_seed": 1466673285,
"world_size": 4250,
"steam_id": 90286267675368450,
"domain": null,
"id": 11501576,
"ip": "185.129.86.164",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Bad Soden am Taunus",
"description": "![Überlebe die Insel [PvE/DE] Bi-Weekly](https://i.imgur.com/DPkoE3a.jpeg)\nÜberlebe die Insel - Dein PvE Abenteuer\r\n\r\n[REGELN]\r\n- Rein PvE: Töten, Angreifen und Diebstahl sind STRENG VERBOTEN!\r\n- Das Zerstören von Basen oder Items anderer ist untersagt.\r\n- Chat-Sprache: Nur DEUTSCH.\r\n\r\n[INFO]\r\n- Kisten-Timer: KEINE 15 Min. Kisten (außer an der Ölbohrinsel)!\r\n- Wipe: Alle 14 Tage (Map).\r\n- BP-Wipe: Nur am 1. Donnerstag im Monat (Force Wipe).\r\n\r\nGenieße die entspannte Atmosphäre und viel Spaß beim Bauen!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605216,
"last_online": 1779871822,
"icon": null,
"name": "Überlebe die Insel [PvE/DE] Bi-Weekly",
"connect": "185.129.86.164:28015",
"request": "185.129.86.164:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207176,
"last_update": 1780605216,
"banned": false,
"wipe": 1779389131,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10886,
"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/11501576");
$data = json_decode($json, true);
var_dump($data);