Rust
API для HURT LOCKER
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/442126json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 97219,
"world_seed": 577220195,
"world_size": 4000,
"steam_id": "90284503162309658",
"domain": null,
"id": 442126,
"ip": "104.143.3.247",
"port": 28159,
"query": 28156,
"color": 0,
"city": "Dallas",
"description": "\nThanks for joining our server!\r\nServer Info:\r\n2 times the material gather rate\r\n2x LOOT \r\nTeam UI size limit 12\r\nNo group limit\r\nDaytime last 60 minutes night last 3 minutes Custom\r\nAnti cheat system\r\nBlueprints never wipe Server\r\nFeatures:\r\nSkin Box, Bandit and outpost unlimited stock, Server announced events, Monument recycling, Increased recycler speed, Trade, Box sorter, Furnace splitter,",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": null,
"last_online": 1776396624,
"icon": null,
"name": "HURT LOCKER",
"connect": "104.143.3.247:28159",
"request": "104.143.3.247:28156",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779619,
"last_update": 1776396624,
"banned": false,
"wipe": 1775175000,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2176,
"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/442126");
$data = json_decode($json, true);
var_dump($data);