Rust
API für
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11158250json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11158250,
"ip": "185.180.2.35",
"port": 28889,
"query": 27889,
"color": 0,
"city": "Prague",
"description": "Group limit: 4\r\nUpkeep: 50% (Good for newbie players)\r\nWipe schedule: Bi-Weekly - 17.04.2026 16:00 (CET)\r\nMap size: 4250\r\nRules:\r\n - No cheating\r\n - No toxic\r\n - No aliance with others. (Trading allowed)\r\n - Have a good game. ;)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776879159,
"score": 0,
"last_online": 1776033038,
"icon": null,
"name": null,
"connect": null,
"request": "185.180.2.35:27889",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": null,
"private": false,
"country": "CZ",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772228106,
"last_update": 1776879159,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8698,
"language": "cs",
"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/11158250");
$data = json_decode($json, true);
var_dump($data);