Rust
API для [NA] Intention | Small Map | Bi-Weekly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11435844json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 41765,
"world_seed": 733041639,
"world_size": 2750,
"steam_id": "90285611284295706",
"domain": null,
"id": 11435844,
"ip": "91.229.114.68",
"port": 28027,
"query": 28029,
"color": 0,
"city": "Chicago",
"description": "![[NA] Intention | Small Map | Bi-Weekly](https://rust-server-images.physgun.com/f6a2fece48725d7128d0fc55fd4bfa583820a9ec2edf4747594c0bf2b30da5f0.png)\nSmall map, vanilla, with bi-weekly wipes. New players are welcome.\r\nBlueprints wiped every 2 months on even months.\r\n\r\nServer wipes on thursdays at 2pm CST",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777928589,
"score": 0,
"last_online": 1778524822,
"icon": null,
"name": "[NA] Intention | Small Map | Bi-Weekly",
"connect": "91.229.114.68:28027",
"request": "91.229.114.68:28029",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977206,
"last_update": 1778524822,
"banned": false,
"wipe": 1778179587,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4759,
"language": "en",
"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/11435844");
$data = json_decode($json, true);
var_dump($data);