Rust
API für Ruosteleiri 2x Just Wiped 5/2
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8528890json
{
"response": {
"fps": 61,
"fps_avg": 62,
"entities_count": 69497,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90284710475601941",
"domain": null,
"id": 8528890,
"ip": "185.185.169.197",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Helsinki",
"description": "Wipe Schedule:\r\n Map wipe every Thursday @ 13:00 UTC\r\n BP wipe on force wipe\r\n Map Size - 3100\r\n \r\nFeatures:\r\n Max 4 players per team\r\n 2x gather rate\r\n 2x smelting speed\r\n 2x crafting speed\r\n Shorter nights\r\n Free kits\r\n Trade\r\n And much more\r\n \r\nDiscord: https://discord.gg/ruosteleiri\r\n\r\nPyyhintäaikataulu:\r\n Kartta wipe torstaisin klo 16:00\r\n BP wipe force wipessä\r\n Kartan koko - 3100\r\n \r\nOminaisuudet:\r\n Enintään 4 pelaajan tiimit\r\n 2x keruunopeus\r\n 2x sulatusnopeus\r\n 2x valmistusnopeus\r\n Lyhyemmät yöt\r\n Ilmaiset kitit\r\n Trade\r\n Paljon muuta\r\n \r\nDiscord: https://discord.gg/ruosteleiri",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776716597,
"score": 0,
"last_online": 1776851421,
"icon": null,
"name": "Ruosteleiri 2x Just Wiped 5/2",
"connect": "185.185.169.197:28015",
"request": "185.185.169.197:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1744458175,
"last_update": 1776851421,
"banned": false,
"wipe": 1776344725,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3291,
"language": "fi",
"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/8528890");
$data = json_decode($json, true);
var_dump($data);