Survive the Nights
API для Lexi PVE Port: 7950
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11015795json
{
"response": {
"steam_id": "90284502756253712",
"domain": null,
"id": 11015795,
"ip": "71.81.241.173",
"port": 7950,
"query": 7951,
"color": 0,
"city": "Hickory",
"description": null,
"game": 541300,
"owner": null,
"boosts": 1,
"last_offline": 1774832529,
"score": 0,
"last_online": 1776317493,
"icon": null,
"name": "Lexi PVE Port: 7950",
"connect": "71.81.241.173:7950",
"request": "71.81.241.173:7951",
"map": "Black_Island",
"gamemode": "Survive The Nights",
"version": "1.3.0.0",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769943229,
"last_update": 1776317493,
"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": 27,
"language": "en",
"parked": false,
"app": {
"id": 12556,
"steam_id": 541300,
"name": "Survive the Nights",
"url": "survive-the-nights"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11015795");
$data = json_decode($json, true);
var_dump($data);