Rust
LFS - CINEMATIC MAIN için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/7299177json
{
"response": {
"fps": 178,
"fps_avg": 180,
"entities_count": 286406,
"world_seed": 371635960,
"world_size": 5000,
"steam_id": "90284793826406414",
"domain": null,
"id": 7299177,
"ip": "95.217.43.96",
"port": 35007,
"query": 35009,
"color": 0,
"city": "Helsinki",
"description": "\nХостинг XLGAMES.PRO\r\n Арендуй свой сервер с защитой от DDoS атак:\r\n > Rust\r\n > DayZ\r\n > Soulmask\r\n > Enshrouded\r\n > Conan Exiles\r\n > и многие другие.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776827597,
"score": 0,
"last_online": 1776837621,
"icon": null,
"name": "LFS - CINEMATIC MAIN",
"connect": "95.217.43.96:35007",
"request": "95.217.43.96:35009",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 352,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1736775170,
"last_update": 1776837621,
"banned": false,
"wipe": 1775152260,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2948,
"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/7299177");
$data = json_decode($json, true);
var_dump($data);