DayZ
RU ДлЯ ДуШи के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10798630json
{
"response": {
"steam_id": "90284746367850509",
"domain": null,
"id": 10798630,
"ip": "185.135.81.252",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Kudryashovskiy",
"description": null,
"game": 221100,
"owner": 155117,
"boosts": 1,
"last_offline": 1775121130,
"score": 0,
"last_online": 1776796221,
"icon": null,
"name": "RU ДлЯ ДуШи",
"connect": "185.135.81.252:2302",
"request": "185.135.81.252:2303",
"map": "chernarusplus",
"gamemode": null,
"version": "1.28.161464",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766899142,
"last_update": 1776796221,
"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": 1171,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "drakyla",
"avatar": "81409d93-0537-4be9-ae27-c0f5b99ba04f.jpg",
"last_online": 1774642350
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10798630");
$data = json_decode($json, true);
var_dump($data);