API dla de PVE/PVP nowipe
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 194,
"fps_avg": 192,
"entities_count": 65063,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286599487858703",
"domain": null,
"id": 7733958,
"ip": "45.138.49.241",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nWillkommen auf unserem Rust PvE/PVP-Server. \r\n Hier kannst du deine Base speichern und nach dem Wipe weiterbauen. \r\n Wir haben viele Erweiterungenm wie Epic-Items, Backpack, Skillsystem etc. \r\n Spannende Events, wie z.B. \r\n Convoy, Armored Train, Sputniks, Airfield-Event und vieles mehr. \r\n \r\n Werde teil unserer verrückten Community und besuche unseren Discord. \r\n\r\nAttention!!! You must save your base yourself so the admins can place it again after the wipe!\r\nThe best way is to join our Discord – there you will find a detailed guide, and if you have any questions, you will get help as well.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780585470,
"last_online": 1780585829,
"icon": null,
"name": "de PVE/PVP nowipe",
"connect": "45.138.49.241:28015",
"request": "45.138.49.241:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1739797023,
"last_update": 1780585829,
"banned": false,
"wipe": 1780043103,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1760,
"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/7733958");
$data = json_decode($json, true);
var_dump($data);