Rust
PORTAL 2x | Wiped 17/04 | Loot+ | Kits | TP | Shop için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11259974json
{
"response": {
"fps": 224,
"fps_avg": 222,
"entities_count": 88696,
"world_seed": 1390279567,
"world_size": 4000,
"steam_id": "90284725103385601",
"domain": null,
"id": 11259974,
"ip": "31.31.169.8",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Warsaw",
"description": "\nEN: PORTAL — Modded 2x [EU]. 2x Gather, Loot, Smelt, Stacks. TP, Kits, Remove, Clans, Economy & Shop, AutoDoors, BGrade. Active Admins, Anti-Cheat. Wipe Fri 13:00 CET. Vote: portalrust.club/vote | RU: PORTAL — модовый 2x [EU]. x2 добыча, лут, переплавка, стеки. ТП, киты, Remove, кланы, экономика, магазин, AutoDoors, BGrade. Админы, античит. Вайп пт 13:00 CET. Голосование: portalrust.club/vote",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776424421,
"score": 0,
"last_online": 1776825026,
"icon": null,
"name": "PORTAL 2x | Wiped 17/04 | Loot+ | Kits | TP | Shop",
"connect": "31.31.169.8:28015",
"request": "31.31.169.8:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555184,
"last_update": 1776825026,
"banned": false,
"wipe": 1776424506,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4787,
"language": "pl",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11259974");
$data = json_decode($json, true);
var_dump($data);