API dla FRSH RUST #1 x1000|NOLIMIT|KIT GLOBAL 8.05
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 232,
"fps_avg": 232,
"entities_count": 28555,
"world_seed": 1962725151,
"world_size": 2500,
"steam_id": "90286580163640334",
"domain": null,
"id": 11606472,
"ip": "51.195.88.143",
"port": 20550,
"query": 20551,
"color": 0,
"city": "Limburg an der Lahn",
"description": "\nFRESH RUST [x1000] \r\n\r\n— Рейты: x1000 на всё\r\n— Без ботов и NPC (MAX FPS)\r\n— Команда: No Limit\r\n— Мгновенный крафт и переплавка\r\n— Бесплатные наборы /KIT\r\n\r\n Заходи и покажи свой скилл!\r\n\r\n Discord: https://discord.gg/J3aX5prc",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780661002,
"last_online": 1780628428,
"icon": null,
"name": "FRSH RUST #1 x1000|NOLIMIT|KIT GLOBAL 8.05",
"connect": "51.195.88.143:20550",
"request": "51.195.88.143:20551",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915471,
"last_update": 1780661002,
"banned": false,
"wipe": 1780060129,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11611,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11606472");
$data = json_decode($json, true);
var_dump($data);