Rust
API für Intoxicated EU Solo/Duo/Trio 2x - Wipe in a few hours
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/214590json
{
"response": {
"fps": 243,
"fps_avg": 242,
"entities_count": 53213,
"world_seed": 1,
"world_size": 3100,
"steam_id": "85568392924810588",
"domain": null,
"id": 214590,
"ip": "213.32.46.191",
"port": 27222,
"query": 27222,
"color": 0,
"city": "Roubaix",
"description": "",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775152931,
"score": null,
"last_online": 1776315021,
"icon": null,
"name": "Intoxicated EU Solo/Duo/Trio 2x - Wipe in a few hours",
"connect": "213.32.46.191:27222",
"request": "213.32.46.191:27222",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 51,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1582969549,
"last_update": 1776315021,
"banned": false,
"wipe": 1775748288,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5728,
"language": "fr",
"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/214590");
$data = json_decode($json, true);
var_dump($data);