API pentru Riggity Riggity Wrecked Son x50 TP KITS
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 145,
"fps_avg": 140,
"entities_count": 86595,
"world_seed": 411533420,
"world_size": 4000,
"steam_id": "90286537794189318",
"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": 1780470420,
"last_online": 1780597831,
"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": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555186,
"last_update": 1780597831,
"banned": false,
"wipe": 1780141451,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3149,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11260074");
$data = json_decode($json, true);
var_dump($data);