Hurtworld
API для [EU] WOLFPACK.GG x20 | TP | Custom
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/812774json
{
"response": {
"steam_id": "90284726531941391",
"domain": null,
"id": 812774,
"ip": "168.100.161.67",
"port": 12871,
"query": 12881,
"color": 0,
"city": "London",
"description": "",
"game": 393420,
"owner": null,
"boosts": 1,
"last_offline": 1775690524,
"score": null,
"last_online": 1776774012,
"icon": null,
"name": "[EU] WOLFPACK.GG x20 | TP | Custom",
"connect": "168.100.161.67:12871",
"request": "168.100.161.67:12881",
"map": "Wipe in: 16d 3h",
"gamemode": "Hurtworld",
"version": "191",
"numplayers": 11,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1684358818,
"last_update": 1776774012,
"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": 1,
"language": "en",
"parked": false,
"app": {
"id": 134,
"steam_id": 393420,
"name": "Hurtworld",
"url": "hurtworld"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/812774");
$data = json_decode($json, true);
var_dump($data);