Rust
API für FOG PVE 5X|Loot+|Raidable Bases
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/3387837json
{
"response": {
"steam_id": "90284789615136788",
"domain": null,
"id": 3387837,
"ip": "193.25.252.90",
"port": 28016,
"query": 28017,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nFamily Of Gamers PVE Server \r\n FOG is Family Friendly, please have fun and enjoy the server \r\n Please use English only in global chat \r\n Mods in this server include: \r\n Building Skins \r\n Raidable Bases \r\n Better NPCs \r\n Plane Crash \r\n Airfield Event \r\n Abandoned Bases",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776683001,
"score": null,
"last_online": 1776831618,
"icon": null,
"name": "FOG PVE 5X|Loot+|Raidable Bases",
"connect": "193.25.252.90:28016",
"request": "193.25.252.90:28017",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2623",
"numplayers": 5,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1710347267,
"last_update": 1776831618,
"banned": false,
"wipe": 1776361974,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1010,
"language": "de",
"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/3387837");
$data = json_decode($json, true);
var_dump($data);