Rust
API для 4/17 RustyRemains 3x SOLO/DUO/TRIO TP/KITS/BP+ Frontline
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11435478json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 114780,
"world_seed": 524269807,
"world_size": 4500,
"steam_id": "90284744389663774",
"domain": null,
"id": 11435478,
"ip": "81.172.145.221",
"port": 28027,
"query": 28025,
"color": 0,
"city": "Beesel",
"description": "\nWipes every Friday, 3 PM EST\n\n• 3x Gather Rate\n• Group Limit: 3\n• Active & Helpful Admins\n• Perfected Loot Tables\n• Unique Leaderboards & Rankings\n\nwww.FrontlineRust.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776786799,
"score": 0,
"last_online": 1776827423,
"icon": null,
"name": "4/17 RustyRemains 3x SOLO/DUO/TRIO TP/KITS/BP+ Frontline",
"connect": "81.172.145.221:28027",
"request": "81.172.145.221:28025",
"map": "Frontline FPS+ Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977191,
"last_update": 1776827423,
"banned": false,
"wipe": 1776463227,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5247,
"language": "nl",
"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/11435478");
$data = json_decode($json, true);
var_dump($data);