Empyrion - Galactic Survival
API для Maxidents Beta III
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11481059json
{
"response": {
"steam_id": "90284555920124946",
"domain": null,
"id": 11481059,
"ip": "83.223.204.71",
"port": 7878,
"query": 7879,
"color": 0,
"city": "Washington",
"description": null,
"game": 383120,
"owner": null,
"boosts": 1,
"last_offline": 1774979241,
"score": 0,
"last_online": 1776454275,
"icon": null,
"name": "Maxidents Beta III",
"connect": "83.223.204.71:7878",
"request": "83.223.204.71:7879",
"map": null,
"gamemode": "Empyrion - Galactic Survival",
"version": "v1.16.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979241,
"last_update": 1776454275,
"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": 574,
"language": "en",
"parked": false,
"app": {
"id": 140,
"steam_id": 383120,
"name": "Empyrion - Galactic Survival",
"url": "empyrion-galactic-survival"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11481059");
$data = json_decode($json, true);
var_dump($data);