API для Rustix EU x10 [NoLimit|MyMini|Kits|Shop|10x] 14/05
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285979797515274",
"domain": null,
"id": 6150547,
"ip": "216.126.207.176",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Poplar",
"description": "![Rustix EU x10 [NoLimit|MyMini|Kits|Shop|10x] 30/04](https://i.gyazo.com/994ead8f35db2168830b32936d831397.png)\nWelcome to Rustix 10x NO BPs.\r\n\r\n- SERVER WIPE SCHEDULE\r\n✦ Every Thursday at 6 PM CET\r\n✦ First Thursday of the month 8 PM CET (forced wipes)\r\n\r\n- SERVER FEATURES\r\n✦ 10x Gather Rate\r\n✦ Skins for everyone\r\n✦ MyMini/BGrade for everyone\r\n✦ Clan/Shop/Trade/Kits\r\n✦ Teleport/Homes/Auto Doors\r\n✦ Always daytime/No fog or rain\r\n✦ No cold/Radiations/Instant Craft\r\n✦ Half Rocket PVP Damage\r\n✦ Cars spawn ready to use\r\n✦ Fast Recycling and Smelt\r\n✦ Custom Loot Tables\r\n✦ No BPs and no Workbenches\r\n✦ Custom merged outpost\r\n\r\n- SERVER RULES\r\n✦ Auto kick players with VAC ban < 160 Days\r\n✦ No cheating/exploiting\r\n✦ Playing with cheaters will result in a ban\r\n✦\r\nWebsite : playrustix.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778176987,
"last_online": 1779260418,
"icon": null,
"name": "Rustix EU x10 [NoLimit|MyMini|Kits|Shop|10x] 14/05",
"connect": "216.126.207.176:28015",
"request": "216.126.207.176:28014",
"map": "Rustix Maps FPS+",
"gamemode": "Rust",
"version": "2625",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1728013121,
"last_update": 1779260418,
"banned": false,
"wipe": 1778774337,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1541,
"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/6150547");
$data = json_decode($json, true);
var_dump($data);