ОСТРОВ için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 47,
"fps_avg": 46,
"entities_count": 77561,
"world_seed": 1505101015,
"world_size": 3750,
"steam_id": "90286494095618076",
"domain": null,
"id": 762229,
"ip": "90.188.4.171",
"port": 20005,
"query": 20000,
"color": 0,
"city": "Barnaul",
"description": "\n●Медленное гниение \r\n●Защита от рейдов ночью \r\n●X2 добыча на ресурсы \r\n●3 стартовых набора \r\n●Печки в 2 раза быстрее \r\n●Голосование за пропуск ночи \r\n●Авторемонт построек \r\n●Моментальный крафт \r\n●Телепорт к игрокам и домой \r\n●Уведомления о рейдах \r\n●Стаки до 100 тысяч",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780593265,
"last_online": 1780586434,
"icon": null,
"name": "ОСТРОВ",
"connect": "90.188.4.171:20005",
"request": "90.188.4.171:20000",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1680785773,
"last_update": 1780593265,
"banned": false,
"wipe": 1779266055,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10188,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/762229");
$data = json_decode($json, true);
var_dump($data);