API dla Riggity Riggity Wrecked Son x50 TP KITS
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 146,
"fps_avg": 141,
"entities_count": 85540,
"world_seed": 411533420,
"world_size": 4000,
"steam_id": "90286613329113094",
"domain": null,
"id": 11260074,
"ip": "94.130.16.123",
"port": 28016,
"query": 28015,
"color": 0,
"city": "Falkenstein",
"description": "\nGet riggity riggity wrecked son! Lots of mods, lots of death, compliments C-137. \r\n The only thing we wipe are asses! Sometimes we don't! NO WIPES!\r\n \r\n MODS: \r\n \r\n ExplodingBarrels :) \r\n FancyDrop \r\n Friends \r\n GUISkipNight \r\n GatherManager \r\n ImageLibrary \r\n InstantCraft \r\n ItemSkinRandomizer \r\n KillFeed \r\n Kits \r\n NTeleportation \r\n QuickSmelt \r\n RemoverTool \r\n RulesGUI \r\n StackSizeController \r\n \r\n And more...",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780618455,
"last_online": 1780640429,
"icon": null,
"name": "Riggity Riggity Wrecked Son x50 TP KITS",
"connect": "94.130.16.123:28016",
"request": "94.130.16.123:28015",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555186,
"last_update": 1780640429,
"banned": false,
"wipe": 1780618479,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4094,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11260074");
$data = json_decode($json, true);
var_dump($data);