Rust
API pentru BDSM Rust#1 x1|Classic|NoLimit FullWipe 17.04.26
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11259977json
{
"response": {
"fps": 208,
"fps_avg": 208,
"entities_count": 105838,
"world_seed": 1713727361,
"world_size": 4250,
"steam_id": "90284791190949889",
"domain": null,
"id": 11259977,
"ip": "146.59.52.60",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Warsaw",
"description": "\nВсё тот же BDSM Rust! \r\n Вайп карты — еженедельно \r\n Вайп чертежей — раз в 2 недели \r\n Лимит игроков в команде: 20 \r\n Рейты добычи x1 (полностью классический режим) \r\n Rарта Procedural - почти со всеми рт \r\n Переработчики в рыбацких деревнях и на нефтевышках \r\n Увеличена вместительность шкафов, чтобы вам не пришлось беспокоиться о частом пополнении ресурсов \r\n Начинающим игрокам и новичкам всегда рады!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776819197,
"score": 0,
"last_online": 1776838824,
"icon": null,
"name": "BDSM Rust#1 x1|Classic|NoLimit FullWipe 17.04.26",
"connect": "146.59.52.60:28000",
"request": "146.59.52.60:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555185,
"last_update": 1776838824,
"banned": false,
"wipe": 1776434284,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4816,
"language": "pl",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11259977");
$data = json_decode($json, true);
var_dump($data);