API для Grumpy's Playground|Loot++|Shop|Kits|...
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 91,
"fps_avg": 94,
"entities_count": 132318,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90287049707710472",
"domain": null,
"id": 11800967,
"ip": "97.124.145.10",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Phoenix",
"description": "\nLess grind and more fun!\r\n\r\n -There is plenty of loot++\r\n -High rate of gathering resourses\r\n -Better loot in containers\r\n -AbsolutSorter\r\n -Shop\r\n -10 beds/sleepingbags tp homes per player\r\n -Skinner\r\n -Kits plus on spawn\r\n -Auto Farms\r\n -Auto Doors\r\n -Backpacks\r\n -Bank System for shop\r\n -Building Grades\r\n -Building Skins\r\n -Chest Stacks\r\n -LightsOn\r\n -My Mini Copter\r\n -Player Challenges\r\n -Raidable Bases\r\n -Raid Protection\r\n -Home Recycler\r\n -Clans+UI\r\n -Quick Smelt\r\n -Instant Craft\r\n -VirtualQuarries\r\n -All commands in /info.\r\n\r\nJoin us on our Discord at https://discord.gg/wsYvgFKPuW",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781463043,
"last_online": 1781575830,
"icon": null,
"name": "Grumpy's Playground|Loot++|Shop|Kits|...",
"connect": "97.124.145.10:28015",
"request": "97.124.145.10:28016",
"map": "Valley of Canyons",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781463043,
"last_update": 1781575830,
"banned": false,
"wipe": 1780671241,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6207,
"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/11800967");
$data = json_decode($json, true);
var_dump($data);