Soulmask
API для Kurou's Soulmask Server by G-Portal.com
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10788894json
{
"response": {
"steam_id": "90284268869372953",
"domain": null,
"id": 10788894,
"ip": "178.212.33.59",
"port": 29000,
"query": 29015,
"color": 0,
"city": "Tokyo",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775890277,
"score": 0,
"last_online": 1776024086,
"icon": null,
"name": "Kurou's Soulmask Server by G-Portal.com",
"connect": "178.212.33.59:29000",
"request": "178.212.33.59:29015",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766874356,
"last_update": 1776024086,
"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": 870,
"language": "ja",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10788894");
$data = json_decode($json, true);
var_dump($data);