DF Test Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 99036,
"world_seed": 1853496501,
"world_size": 5500,
"steam_id": "90286573781681179",
"domain": null,
"id": 3693138,
"ip": "104.238.229.179",
"port": 30015,
"query": 30016,
"color": 0,
"city": "Dallas",
"description": "\nEnhanced PVE experience! Lots of events and NPC's to battle. \r\n★ PVE events \r\n ✪ Convoy ✪ Sputnik ✪ Cargo Train Event ✪ Flying Cargo\r\n ✪ Sat Dish Event ✪ Harbor Event ✪ Train Yard Event ✪ Arctic Base Event\r\n ✪ Gas station Event ✪ Air Event ✪ Rad Town Event ✪ Armored Train\r\n ✪ Airfield Event ✪ Heavy Cargo ✪ Paintball ✪ Survival Arena\r\n\r\n★ Tiered monuments\r\n ✪ Fight through easy, medium and hard NPC's at monuments\r\n\r\n★ Quality of life plugins\r\n ✪ Loottable and stack size GUI ✪ Stack boxes ✪ Furnace splitter ✪ NTeleportation\r\n ✪ Vehicle License ✪ Skill Tree ✪ PVE Mode ✪ Night Lantern\r\n ✪ 7 min Hackable crates ✪ Monument Owner ✪ Shop ✪ Custom economy and items\r\n And so many more.............\r\n\r\n★ Custom build spots and a custom town you can live in.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"last_online": 1780599637,
"icon": null,
"name": "DF Test Server",
"connect": "104.238.229.179:30015",
"request": "104.238.229.179:30016",
"map": "Custom 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": 1712137510,
"last_update": 1780599637,
"banned": false,
"wipe": 1780524521,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2776,
"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/3693138");
$data = json_decode($json, true);
var_dump($data);