Rust
[KZ] Rustify Main için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11305476json
{
"response": {
"fps": 58,
"fps_avg": 56,
"entities_count": 101815,
"world_seed": 1,
"world_size": 4250,
"steam_id": "90283765040755723",
"domain": null,
"id": 11305476,
"ip": "37.27.227.189",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Helsinki",
"description": "![[KZ] Rustify Main](https://gfn.ru/media/images/screen_sfqt56m.2e16d0ba.fill-992x558.format-webp.webpquality-50.webp)\nRustify – вайп каждую неделю по четвергам в 20:00, полная классика Rust. Не играющая администрация, хороший античит, полное погружение в классический Rust.\r\n\r\nRustify – weekly wipes every Thursday, full Rust classic. Non-playing admins, solid anti-cheat, full immersion in classic Rust.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776833554,
"score": 0,
"last_online": 1776436823,
"icon": null,
"name": "[KZ] Rustify Main",
"connect": "37.27.227.189:28005",
"request": "37.27.227.189:28006",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774592886,
"last_update": 1776833554,
"banned": false,
"wipe": 1774538306,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9328,
"language": "fi",
"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/11305476");
$data = json_decode($json, true);
var_dump($data);