Demogorn (PVP) के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4813006,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 244850,
"owner": 139066,
"boosts": 1,
"last_offline": 1763964063,
"last_online": 1763037620,
"icon": null,
"name": "Demogorn (PVP)",
"connect": null,
"request": null,
"map": "Star System",
"gamemode": "Space Engineers",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "BY",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1718919842,
"last_update": 1763964063,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4126,
"language": "be",
"parked": true,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers"
},
"server_owner": {
"username": "dmitriy_kuzmickiy",
"avatar": "no.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/4813006");
$data = json_decode($json, true);
var_dump($data);