Serious Sam HD: The Second Encounter
API для Melody's Server (Coop #2) NorthItaly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5856721json
{
"response": {
"steam_id": "90285150626246669",
"domain": null,
"id": 5856721,
"ip": "209.227.237.252",
"port": 27600,
"query": 27601,
"color": 0,
"city": "Rome",
"description": null,
"game": 41010,
"owner": null,
"boosts": 1,
"last_offline": 1777260204,
"score": 0,
"last_online": 1777542107,
"icon": null,
"name": "Melody's Server (Coop #2) NorthItaly",
"connect": "209.227.237.252:27600",
"request": "209.227.237.252:27601",
"map": "1_01_Palenque",
"gamemode": "Serious Sam HD : The Second Encounter",
"version": "0.1.200.142",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "IT",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1725529112,
"last_update": 1777542107,
"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": 2,
"language": "it",
"parked": false,
"app": {
"id": 95,
"steam_id": 41010,
"name": "Serious Sam HD: The Second Encounter",
"url": "serious-sam-hd-the-second-encounter"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5856721");
$data = json_decode($json, true);
var_dump($data);