API pentru Kentucky Boys - 2x | Low Upkeep | Solo/Dou
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 78866,
"world_seed": 390344391,
"world_size": 3700,
"steam_id": "90286585470731290",
"domain": null,
"id": 11502480,
"ip": "66.51.96.67",
"port": 28060,
"query": 28061,
"color": 0,
"city": "Ashburn",
"description": "\nDadgum! Home of moonshine, mayhem, and questionable life choices. We don’t follow rules. Build your base, wrangle your neighbors, and remember — if it explodes, it’s probably fine. Half the population’s screaming in voice chat, the other half’s farming beans in their underwear. Respawn, revenge, repeat. Yeehaw, brother!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780388052,
"last_online": 1780573235,
"icon": null,
"name": "Kentucky Boys - 2x | Low Upkeep | Solo/Dou",
"connect": "66.51.96.67:28060",
"request": "66.51.96.67:28061",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207201,
"last_update": 1780573235,
"banned": false,
"wipe": 1778179368,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4977,
"language": "en",
"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/11502480");
$data = json_decode($json, true);
var_dump($data);