Rust START Server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5664329,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "\nДобро пожаловать на сервер GameZona Rust | BF \r\n На нашем сервере есть много плюсов: \r\n +Кастомная карта \r\n +Стартовый Кит с оружием \r\n +Другие киты \r\n +Возможность строиться на айсбергах \r\n +Отдельный остров для фарма \r\n +Хорошая администрация \r\n Сервер был сделан при поддержке GameZona, Consience. и Algorithm",
"game": 252490,
"owner": 98089,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1744081260,
"icon": null,
"name": "Rust START Server",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": null,
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1723803503,
"last_update": 1750457066,
"banned": false,
"wipe": 1741450111,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13171,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "ArtyomNevzorov",
"avatar": "5a1f0253-c9a3-43a5-8ae3-1db2a31e5efb.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5664329");
$data = json_decode($json, true);
var_dump($data);