Unturned
API pentru 𐀉𐀉𐀉 RedLine #6 [SHOP|KITS|TPA|LootX5|РУССКИЙ]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/5557084json
{
"response": {
"steam_id": "85568392924649795",
"domain": null,
"id": 5557084,
"ip": "185.189.255.167",
"port": 25550,
"query": 25550,
"color": 0,
"city": "Moscow",
"description": null,
"game": 304930,
"owner": 79823,
"boosts": 1,
"last_offline": 1776049310,
"score": 0,
"last_online": 1776084612,
"icon": "https://cdn.jsdelivr.net/gh/VegaRedLine/RedLineImages@main/Icon/Icon.png",
"name": "𐀉𐀉𐀉 RedLine #6 [SHOP|KITS|TPA|LootX5|РУССКИЙ]",
"connect": "185.189.255.167:25550",
"request": "185.189.255.167:25550",
"map": "PEI",
"gamemode": "ЛУЧШEE ПBП У HAC!",
"version": "3.26.2.2",
"numplayers": 5,
"maxplayers": 48,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1723298934,
"last_update": 1776084612,
"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": 15,
"language": "ru",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": {
"username": "panfinmso",
"avatar": "fbe36299-5b59-46bc-93d1-5a2f501938e4.jpg",
"last_online": 1723312637
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/5557084");
$data = json_decode($json, true);
var_dump($data);