API für RustSpain.com | EU España x5 (Full Wipe 11/6) [LOOT 5X | KITS
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286946806750225",
"domain": null,
"id": 11781764,
"ip": "89.248.96.148",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Madrid",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781376784,
"last_online": 1781391039,
"icon": null,
"name": "RustSpain.com | EU España x5 (Full Wipe 11/6) [LOOT 5X | KITS",
"connect": "89.248.96.148:28015",
"request": "89.248.96.148:28016",
"map": "Procedural Map (Optimizado)",
"gamemode": "Rust",
"version": "2627",
"numplayers": 27,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 51,
"add_date": 1781376784,
"last_update": 1781391039,
"banned": false,
"wipe": 1781186777,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6273,
"language": "es",
"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/11781764");
$data = json_decode($json, true);
var_dump($data);