Rust
API для [DE-PVE] Der Rentner Treff HARDCORE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/763051json
{
"response": {
"fps": 42,
"fps_avg": 42,
"entities_count": 117786,
"world_seed": 0,
"world_size": 4500,
"steam_id": "90284724071295004",
"domain": null,
"id": 763051,
"ip": "176.57.174.158",
"port": 28415,
"query": 28416,
"color": 0,
"city": "Frankfurt am Main",
"description": "![$[DE-PVE] Der Rentner Treff HARDCORE](https://images.marcopetersen.de/rust_server/banner/rust_vanillabanner_HCA.jpg)Welcome to [EU] Der Rentner Treff H-Core, In case you have build something wrong, you can ask one of the Admins to help you to remove it",
"game": 252490,
"owner": 4678,
"boosts": 1,
"last_offline": 1776744797,
"score": null,
"last_online": 1776825611,
"icon": null,
"name": "[DE-PVE] Der Rentner Treff HARDCORE",
"connect": "176.57.174.158:28415",
"request": "176.57.174.158:28416",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 91,
"add_date": 1680789881,
"last_update": 1776825611,
"banned": false,
"wipe": 1775154792,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 181,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Gotteshand",
"avatar": "4678.jpg",
"last_online": 1694503802
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/763051");
$data = json_decode($json, true);
var_dump($data);