VEIN
[RU][PVE] DAYHELL.RU [vk.com/dayhell] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10523038json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10523038,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"tt4bP7cu6v\",\"type\":\"paragraph\",\"data\":{\"text\":\"VK.COM/DAYHELL\"}}]",
"game": 1857950,
"owner": 143561,
"boosts": 1,
"last_offline": 1764986456,
"score": 0,
"last_online": 1764060011,
"icon": null,
"name": "[RU][PVE] DAYHELL.RU [vk.com/dayhell]",
"connect": null,
"request": null,
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": null,
"numplayers": 0,
"maxplayers": 14,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1762053060,
"last_update": 1764986456,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 0,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1231,
"language": "ru",
"parked": true,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": {
"username": "DAY_HELL",
"avatar": "0da38cc1-3891-4e40-a4d9-c37341d66565.jpg",
"last_online": 1766744305
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10523038");
$data = json_decode($json, true);
var_dump($data);