Rust
API pentru #3 WIN-RUST | x1000000 | START SET | BATTLE | VEHICLE | FREE
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/275558json
{
"response": {
"fps": 56,
"fps_avg": 55,
"entities_count": 95403,
"world_seed": 86184702,
"world_size": 3500,
"steam_id": "90284717988461590",
"domain": null,
"id": 275558,
"ip": "212.220.216.79",
"port": 40000,
"query": 40002,
"color": 0,
"city": "Yekaterinburg",
"description": "WIN-RUST #3 NO LIMIT (Barren): connect 212.220.216.79:40000\n[X2/X3|LOOT+|KITS|HOME|REMOVE|SKINS|ZOMBI|VK|REC|FPS+]\nНет ограничений на количество человек в команде;\nФул сет при спавне;\nСтроительство и крафт не требуют ресурсов;\nKIT RAID;\nНе требуются верстаки;\nСистема Друзей /fmenu ;\nСистема CLANS /clan;\nLoot+++\n\nГруппа VK - https://vk.com/win_rust\nНаш Discord https://discord.gg/bYFSrQn\nМагазин https://win-rust.ru\nWIN-RUST это сервера с дикими замесами и кучей фана!",
"game": 252490,
"owner": 10780,
"boosts": 1,
"last_offline": 1776668001,
"score": null,
"last_online": 1776812412,
"icon": null,
"name": "#3 WIN-RUST | x1000000 | START SET | BATTLE | VEHICLE | FREE",
"connect": "212.220.216.79:40000",
"request": "212.220.216.79:40002",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1585516055,
"last_update": 1776812412,
"banned": false,
"wipe": 1776668328,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 253,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "WIN_RUST",
"avatar": "4281be989e82dcbf84cbe4a4aa95d38a.jpg",
"last_online": 1757162761
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/275558");
$data = json_decode($json, true);
var_dump($data);