Rust
API для US RENEGADE 2x Monthly | Solo Duo | 50% Upkeep | No BP Wipe
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/566003json
{
"response": {
"steam_id": "90284736012982285",
"domain": null,
"id": 566003,
"ip": "45.88.228.66",
"port": 28018,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "===Welcome to RENEGADERUST.COM 2x Monthly Duo=== Wipes on the first Thursday of eac",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1776788600,
"score": null,
"last_online": 1776795015,
"icon": null,
"name": "US RENEGADE 2x Monthly | Solo Duo | 50% Upkeep | No BP Wipe",
"connect": "45.88.228.66:28018",
"request": "45.88.228.66:28015",
"map": "discord.gg/RenegadeRust",
"gamemode": "Rust",
"version": "2623",
"numplayers": 12,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1668889017,
"last_update": 1776795015,
"banned": false,
"wipe": 1775151942,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 278,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "GeoSciencegeek",
"avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg",
"last_online": 1680594104
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/566003");
$data = json_decode($json, true);
var_dump($data);