Miscreated
API для unleash the beast pve / Build-almost everywhere / fresh start
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10481403json
{
"response": {
"steam_id": "90284746476460033",
"domain": null,
"id": 10481403,
"ip": "141.224.196.89",
"port": 44090,
"query": 44092,
"color": 0,
"city": "Almelo",
"description": null,
"game": 299740,
"owner": null,
"boosts": 1,
"last_offline": 1776297714,
"score": 0,
"last_online": 1776808247,
"icon": null,
"name": "unleash the beast pve / Build-almost everywhere / fresh start",
"connect": "141.224.196.89:44090",
"request": "141.224.196.89:44092",
"map": "canyonlands",
"gamemode": "Miscreated: 1011142",
"version": "1011142",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760514661,
"last_update": 1776808247,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 19,
"language": "nl",
"parked": false,
"app": {
"id": 69,
"steam_id": 299740,
"name": "Miscreated",
"url": "miscreated"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10481403");
$data = json_decode($json, true);
var_dump($data);