Rust
API для BLASTIX PVP | X1000000 | BattleField | Fun |18+
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10714438json
{
"response": {
"modded": true,
"fps": 143,
"fps_avg": 149,
"entities_count": 30512,
"world_seed": 1337,
"world_size": 2700,
"steam_id": "90285193335217172",
"domain": null,
"id": 10714438,
"ip": "46.174.50.248",
"port": 20560,
"query": 20561,
"color": 0,
"city": "Moscow",
"description": "\nТы купил пиво и не знаешь что посмотреть под него? \r\nТогда смотри как тебя рейдят на BLASTIX! \r\nУ нас вайп: \r\n• Раз в неделю, в четверг! \r\n \r\n Тебя ждет на сервере: \r\n•Горящий пукан \r\n• Баланс PVP и Китов. \r\n• Кастомная карта \r\n• И другие эмоции, которые ты не получишь даже от девушки!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777546408,
"score": 0,
"last_online": 1777654220,
"icon": null,
"name": "BLASTIX PVP | X1000000 | BattleField | Fun |18+",
"connect": "46.174.50.248:20560",
"request": "46.174.50.248:20561",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 9,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1765132162,
"last_update": 1777654220,
"banned": false,
"wipe": 1777558945,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1296,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10714438");
$data = json_decode($json, true);
var_dump($data);