Rust
API для OnlyRust|2x|Nolimit|SmallestMap
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488812json
{
"response": {
"fps": 218,
"fps_avg": 216,
"entities_count": 18889,
"world_seed": 573930120,
"world_size": 2000,
"steam_id": "90284333352044575",
"domain": null,
"id": 11488812,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Québec",
"description": null,
"game": 252490,
"owner": 182572,
"boosts": 1,
"last_offline": 1777063347,
"score": 0,
"last_online": 1776561622,
"icon": null,
"name": "OnlyRust|2x|Nolimit|SmallestMap",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775837341,
"last_update": 1777063347,
"banned": false,
"wipe": 1775837258,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": true,
"hide_address": true,
"hide_query": true,
"position_game": 7760,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "kiseevvasa0",
"avatar": "86ea1cb5-7a51-4595-a247-a5c9ef18e55e.jpg",
"last_online": 1778084339
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11488812");
$data = json_decode($json, true);
var_dump($data);