API для GLOBAL RUST | BATTLEFIELD | x1000000 | BILLION | FUN | EU
JSON для программ, сайтов и прочего
text
json
{
"response": {
"modded": true,
"fps": 30,
"fps_avg": 30,
"entities_count": 12127,
"world_seed": 1996500264,
"world_size": 2200,
"steam_id": "90285933613992976",
"domain": null,
"id": 11501786,
"ip": "141.98.157.79",
"port": 26665,
"query": 26666,
"color": 0,
"city": "City of London",
"description": "\nThe Best x1000000 FUN Server Ever!\r\n\r\nWipe every TWO DAYS\r\n- Kits for all\r\n- Loadouts\r\n- x1000000 gathering\r\n- x1000000 components\r\n- x1000000 smelting",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779207180,
"last_online": 1779258018,
"icon": null,
"name": "GLOBAL RUST | BATTLEFIELD | x1000000 | BILLION | FUN | EU",
"connect": "141.98.157.79:26665",
"request": "141.98.157.79:26666",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207180,
"last_update": 1779258018,
"banned": false,
"wipe": 1779158862,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4915,
"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/11501786");
$data = json_decode($json, true);
var_dump($data);