Rust
РОССИЯ #1 |БЕЗ ДОНАТА | ДЛЯ НОВИЧКОВ के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6817581json
{
"response": {
"steam_id": "90285496335756289",
"domain": null,
"id": 6817581,
"ip": "185.189.255.34",
"port": 35700,
"query": 35710,
"color": 0,
"city": "Moscow",
"description": "\n• Классический сервер без лишних модов, без доната\r\n\r\n • Размер карты 4000\r\n • Подходит новичкам, включен режим обучения\r\n • Содержание шкафа снижено на 50%\r\n • Вайпы раз в две недели\r\n • Переработчики и станции дронов в рыбацких деревнях и ранчо\r\n • Высокий FPS и защита от DDoS атак\r\n • Античит и поддержка RUST+\r\n • Активная, не играющая администрация\r\n • Новости игры и сервера, связь с администрацией: https://vk.com/rusty_empire\r\n • Дискорд: https://discord.com/invite/RbuzxdMsyt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778242985,
"score": 0,
"last_online": 1778257812,
"icon": null,
"name": "РОССИЯ #1 |БЕЗ ДОНАТА | ДЛЯ НОВИЧКОВ",
"connect": "185.189.255.34:35700",
"request": "185.189.255.34:35710",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 188,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 107,
"add_date": 1733486355,
"last_update": 1778257812,
"banned": false,
"wipe": 1778176509,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 210,
"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.in/servers/6817581");
$data = json_decode($json, true);
var_dump($data);