AfterShock | 2x | 5 Man Max | 50% Upkeep | NEW के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 18,
"fps_avg": 15,
"entities_count": 76315,
"world_seed": 70722697,
"world_size": 3650,
"steam_id": 90286585607413760,
"domain": null,
"id": 10979313,
"ip": "69.30.244.178",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Kansas City",
"description": "\nWipe Schedule:\r\n Map - Thursdays @ 3PM EST, or when force updates occur.\r\n BPs - Monthly\r\n \r\n VIP: rustbasics.net\r\n \r\n Rules:\r\n - No hacking / scripting\r\n - No intentional bug abuse\r\n - No EAC / FP banned alts\r\n - No ban evading\r\n - No racism\r\n \r\n Good performance\r\n Active non playing admins\r\n Seeds are carefully picked",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780319592,
"last_online": 1780618831,
"icon": null,
"name": "AfterShock | 2x | 5 Man Max | 50% Upkeep | NEW",
"connect": "69.30.244.178:28015",
"request": "69.30.244.178:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 120,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769901093,
"last_update": 1780618831,
"banned": false,
"wipe": 1778186316,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3014,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10979313");
$data = json_decode($json, true);
var_dump($data);