API für Surface Rust 3x PVE - Quests, roaming npcs, raidables, tournmen
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 57,
"fps_avg": 50,
"entities_count": 198475,
"world_seed": 275952508,
"world_size": 4600,
"steam_id": "90286602415653918",
"domain": null,
"id": 6281576,
"ip": "103.15.236.197",
"port": 53003,
"query": 53004,
"color": 0,
"city": "Мельбурн",
"description": "Welcome to Surface Rust 3x PVE/PVP fortnightly\r\nAre you tired of getting raided? Sick of boring PVE servers? Welcome to Surface PVE. A PVE server with a ton of fun mods to make PVE great again!\r\nRaidables | Quests | Tournaments | Survival | Roaming NPCs | Monument events | CUSTOM Helis | So much more!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780592666,
"last_online": 1780599634,
"icon": null,
"name": "Surface Rust 3x PVE - Quests, roaming npcs, raidables, tournmen",
"connect": "103.15.236.197:53003",
"request": "103.15.236.197:53004",
"map": "SurfaceRust",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1729462796,
"last_update": 1780599634,
"banned": false,
"wipe": 1778260172,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2879,
"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/6281576");
$data = json_decode($json, true);
var_dump($data);