Earth's Special Forces
API для # 1 [ARG] ESF FCX - Official Server | discord.gg/R65QAXE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/558764json
{
"response": {
"steam_id": null,
"domain": null,
"id": 558764,
"ip": "45.235.98.48",
"port": 27022,
"query": 27022,
"color": 0,
"city": "Córdoba",
"description": "",
"game": 9000053,
"owner": null,
"boosts": 1,
"last_offline": 1774446119,
"score": null,
"last_online": 1776236458,
"icon": null,
"name": "# 1 [ARG] ESF FCX - Official Server | discord.gg/R65QAXE",
"connect": "45.235.98.48:27022",
"request": "45.235.98.48:27022",
"map": "esf_gero",
"gamemode": "ESF Teamplay",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1665947873,
"last_update": 1776236458,
"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": 3,
"language": "es",
"parked": false,
"app": {
"id": 1665379,
"steam_id": 9000053,
"name": "Earth's Special Forces",
"url": "earths-special-forces"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/558764");
$data = json_decode($json, true);
var_dump($data);