API для Warrps World
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 57,
"fps_avg": 59,
"entities_count": 196217,
"world_seed": 2783841,
"world_size": 6000,
"steam_id": 90286476087925780,
"domain": null,
"id": 11502465,
"ip": "66.51.96.61",
"port": 28060,
"query": 28061,
"color": 0,
"city": "Ashburn",
"description": "\nWarrps World | 5x | Bi-Weekly wipe | Solo, Duo, Trio | Instacraft | Fast Smelt | Fast Loot and High Action!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780313051,
"last_online": 1780605036,
"icon": null,
"name": "Warrps World",
"connect": "66.51.96.61:28060",
"request": "66.51.96.61:28061",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207200,
"last_update": 1780605036,
"banned": false,
"wipe": 1778597428,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4749,
"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/11502465");
$data = json_decode($json, true);
var_dump($data);