Rustauk US Casual - Biweekly|Events|Max 3|Low Upkeep 05/21 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 220,
"fps_avg": 221,
"entities_count": 101068,
"world_seed": 1381960799,
"world_size": 4250,
"steam_id": "90286590936540174",
"domain": null,
"id": 11502401,
"ip": "135.148.137.73",
"port": 60415,
"query": 60417,
"color": 0,
"city": "Warrenton",
"description": "\nRustauk is a brand new server that aims to provide a better casual Rust experience for players of all types\r\n\r\nAlways something to do and a fair fight every wipe.\r\nNo clans. No BS. Just Rust.\r\n \r\nMax Team Size: 3\r\nWiped: May 21st\r\nMap size: 4250",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780571070,
"last_online": 1780581636,
"icon": null,
"name": "Rustauk US Casual - Biweekly|Events|Max 3|Low Upkeep 05/21",
"connect": "135.148.137.73:60415",
"request": "135.148.137.73:60417",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207200,
"last_update": 1780581636,
"banned": false,
"wipe": 1779369733,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4971,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11502401");
$data = json_decode($json, true);
var_dump($data);