Rust
НСК | EdelWeiss | Combat | Silo | Lab | Harpoon | Metro | Wa için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10733865json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10733865,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "\nПриветствую тебя Игрок!\r\n Почему стоит выбрать именно наш сервер?\r\n На нашем сервере ты можешь практиковать свою стрельбу и движения по РТ! \r\n Также наш сервер находиться на мощном и стабильном хосте - никаких вылетов, только игра с удовольствием!\r\n А теперь о самом процессе игры\r\n - Быстрая и отзывчивая модерация \r\n Вот наши соцсети: \r\n - Магазин - https://edelweiss-rust.gamestores.app/\r\n - Дискорд - https://discord.gg/swq7zVrv6M\r\n - Наш ВК - https://vk.com/edelweispj/\r\n - Наш ТГК - https://t.me/EdelWeiss_Rust",
"game": 252490,
"owner": 95895,
"boosts": 1,
"last_offline": 1769493657,
"score": 5,
"last_online": 1768574412,
"icon": null,
"name": "НСК | EdelWeiss | Combat | Silo | Lab | Harpoon | Metro | Wa",
"connect": null,
"request": null,
"map": "Custom Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1765862101,
"last_update": 1769493657,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 8945,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "TeTroFis",
"avatar": "37326e28-d8f6-445f-9848-c2dbb3b8e7ff.jpg",
"last_online": 1773408531
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10733865");
$data = json_decode($json, true);
var_dump($data);