Onward Odal PvP | Cherno 3pp | No Limit | Wipe 18.04 | RU के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"steam_id": "90286656216031239",
"domain": null,
"id": 692050,
"ip": "185.189.255.40",
"port": 2302,
"query": 2406,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780315455,
"last_online": 1780730450,
"icon": null,
"name": "Onward Odal PvP | Cherno 3pp | No Limit | Wipe 18.04 | RU",
"connect": "185.189.255.40:2302",
"request": "185.189.255.40:2406",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 3,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1672004102,
"last_update": 1780730450,
"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": 4953,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/692050");
$data = json_decode($json, true);
var_dump($data);