NightFall | RU | CHERNO 3PP | VANILLA++ के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7412346,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": null,
"game": 221100,
"owner": 103081,
"boosts": 1,
"last_offline": 1750892117,
"last_online": 1748105452,
"icon": null,
"name": "NightFall | RU | CHERNO 3PP | VANILLA++",
"connect": null,
"request": null,
"map": "chernarusplus",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1738237389,
"last_update": 1750892117,
"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": 14168,
"language": "ru",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "AbdulMuhhamed",
"avatar": "2fd19de1-8bc4-46d0-9a2b-f924e8ddf9a1.jpg"
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7412346");
$data = json_decode($json, true);
var_dump($data);