#9 mXs Namalsk - PVE |NEW LOOT |CodeLock |Build için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286717552663555",
"domain": null,
"id": 5997079,
"ip": "109.195.227.214",
"port": 2903,
"query": 27065,
"project_id": null,
"color": 0,
"city": "Rostov-on-Don",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780402395,
"last_online": 1780849256,
"icon": null,
"name": "#9 mXs Namalsk - PVE |NEW LOOT |CodeLock |Build",
"connect": "109.195.227.214:2903",
"request": "109.195.227.214:27065",
"map": "namalsk",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 6,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1727390314,
"last_update": 1780849256,
"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": 5183,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5997079");
$data = json_decode($json, true);
var_dump($data);