DayZ
API для MercadoWorld
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4860263json
{
"response": {
"steam_id": "90284390649373727",
"domain": null,
"id": 4860263,
"ip": "128.0.115.210",
"port": 24000,
"query": 24001,
"color": 0,
"city": "Sydney",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1774514519,
"score": 0,
"last_online": 1776289235,
"icon": null,
"name": "MercadoWorld",
"connect": "128.0.115.210:24000",
"request": "128.0.115.210:24001",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": true,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1719176689,
"last_update": 1776289235,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2576,
"language": "en",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4860263");
$data = json_decode($json, true);
var_dump($data);