Rust
API für Rustopia.gg - EU Large
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7920576json
{
"response": {
"fps": 64,
"fps_avg": 63,
"entities_count": 281700,
"world_seed": 4757,
"world_size": 4750,
"steam_id": "90284725678475267",
"domain": null,
"id": 7920576,
"ip": "176.118.33.3",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Poplar",
"description": "\nMap Wipe - Monthly\r\nBPs Wipe - Monthly\r\n\r\nSkip the Queue | Visit Shop.Rustopia.gg\r\n\r\nJoin our community to get updates, support, giveaways, and more at Discord.gg/Rustopia\r\n\r\nOur server rules can be found at Rustopia.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1773545564,
"score": 0,
"last_online": 1776813615,
"icon": null,
"name": "Rustopia.gg - EU Large",
"connect": "176.118.33.3:28015",
"request": "176.118.33.3:28010",
"map": "Rustopia Mapping",
"gamemode": "Survival",
"version": "2623",
"numplayers": 47,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1740791913,
"last_update": 1776813615,
"banned": false,
"wipe": 1775152738,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 490,
"language": "en",
"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/7920576");
$data = json_decode($json, true);
var_dump($data);