Space Engineers
API для [GER][RP]Discover The Almagest - Prolog
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10786726json
{
"response": {
"steam_id": "90284527455213573",
"domain": null,
"id": 10786726,
"ip": "157.90.192.87",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 244850,
"owner": null,
"boosts": 1,
"last_offline": 1776378818,
"score": 0,
"last_online": 1776376819,
"icon": null,
"name": "[GER][RP]Discover The Almagest - Prolog",
"connect": "157.90.192.87:27018",
"request": "157.90.192.87:27018",
"map": "Discover The Almagest - Prolog",
"gamemode": "Space Engineers",
"version": "1208015",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 5,
"add_date": 1766873389,
"last_update": 1776378818,
"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": 2513,
"language": "de",
"parked": false,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10786726");
$data = json_decode($json, true);
var_dump($data);