Rust
API для Intoxicated IN Sandbox - Creative | Build | Noclip
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10699380json
{
"response": {
"steam_id": "85568392931379729",
"domain": null,
"id": 10699380,
"ip": "160.191.28.120",
"port": 27121,
"query": 27121,
"color": 0,
"city": "Mumbai",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778607780,
"score": 0,
"last_online": 1778607154,
"icon": null,
"name": "Intoxicated IN Sandbox - Creative | Build | Noclip",
"connect": "160.191.28.120:27121",
"request": "160.191.28.120:27121",
"map": "Intoxicated Sandbox",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "IN",
"status": false,
"votes": 0,
"points": 30,
"add_date": 1765122744,
"last_update": 1778607780,
"banned": false,
"wipe": 1778247502,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5514,
"language": "hi",
"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/10699380");
$data = json_decode($json, true);
var_dump($data);