7 Days to Die
API для Them Gator Boyz
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11306527json
{
"response": {
"steam_id": "90285523975508993",
"domain": null,
"id": 11306527,
"ip": "184.107.171.135",
"port": 26905,
"query": 26905,
"color": 0,
"city": "Montreal",
"description": null,
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1775406728,
"score": 0,
"last_online": 1778599903,
"icon": null,
"name": "Them Gator Boyz",
"connect": "184.107.171.135:26905",
"request": "184.107.171.135:26905",
"map": "Pregen08k02",
"gamemode": "7 Days To Die",
"version": "01.02.06",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774592929,
"last_update": 1778599903,
"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": 5777,
"language": "en",
"parked": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11306527");
$data = json_decode($json, true);
var_dump($data);