Rust
API для US RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe |
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/569058json
{
"response": {
"steam_id": null,
"domain": null,
"id": 569058,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Dallas",
"description": "===Welcome to RENEGADERUST.COM 2x Monthly Main=== Wipes on the first Thursday o",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1772517058,
"score": null,
"last_online": 1771593013,
"icon": null,
"name": "US RENEGADE 2x Monthly Main | 50% Upkeep | No BP Wipe |",
"connect": null,
"request": null,
"map": "discord.gg/RenegadeRust",
"gamemode": "Rust",
"version": null,
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1668891893,
"last_update": 1772517058,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6422,
"language": "en",
"parked": true,
"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/569058");
$data = json_decode($json, true);
var_dump($data);