API для Pombazeda
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793502158,
"app": {
"id": 34967,
"name": "Valheim",
"steam_id": 892970,
"url": "valheim"
},
"color": 0,
"connect": "86.41.135.133:2456",
"country": "IE",
"domain": null,
"game": 892970,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19474794,
"ip": "86.41.135.133",
"language": "en",
"last_update": 1794221802,
"map": "Pombazeda",
"maxplayers": 10,
"name": "Pombazeda",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2456,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2457,
"request": "86.41.135.133:2457",
"secured": false,
"status": false,
"steam_id": "90295604981045249",
"version": "1.0.20",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Килкок",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794221802,
"last_online": 1793847645,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 64376,
"wipe_period": null,
"os": "l",
"region": -1,
"product": "valheim",
"gametype": "g=1.0.20,n=41,m=0\\=85\\,1\\=150\\,14\\=110\\,15\\=120\\,19\\,13\\=15\\,4\\=300\\,35\\,18\\,31\\,40\\=1_9:2_6:3_12:4_1:5_6\\,3\\=0",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19474794");
$data = json_decode($json, true);
var_dump($data);