API для FR/EN | RUSTIANLIFE PURPLE x2 | BP WIPED 12.06 | QUAD | NO P2W
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90287034957049885",
"domain": null,
"id": 11759302,
"ip": "217.145.72.197",
"port": 28015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Vélizy-Villacoublay",
"description": "\nEN & FR\r\n\r\nPURPLE - SOLO/DUO/TRIO/QUAD\r\n\r\nx2 Farm\r\nx2 Stacks\r\nFast Furnace\r\nFast Crafting\r\n\r\nNo P2W & cool",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781283840,
"last_online": 1781511030,
"icon": null,
"name": "FR/EN | RUSTIANLIFE PURPLE x2 | BP WIPED 12.06 | QUAD | NO P2W",
"connect": "217.145.72.197:28015",
"request": "217.145.72.197:27015",
"map": "Procedural Map",
"gamemode": "Rust",
"version": "2627",
"numplayers": 0,
"maxplayers": 99,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931707,
"last_update": 1781511030,
"banned": false,
"wipe": 1781284265,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5948,
"language": "fr",
"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/11759302");
$data = json_decode($json, true);
var_dump($data);