Team Fortress 2
API для [KR] 아시다시피 MGE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/855187json
{
"response": {
"steam_id": 85568392931382930,
"domain": null,
"id": 855187,
"ip": "175.193.243.85",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Goyang-si",
"description": "",
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": null,
"last_online": 1775949077,
"icon": null,
"name": "[KR] 아시다시피 MGE",
"connect": "175.193.243.85:27017",
"request": "175.193.243.85:27017",
"map": "mge_training_v8_beta4b",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "KR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684658714,
"last_update": 1775949077,
"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": 651,
"language": "ko",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/855187");
$data = json_decode($json, true);
var_dump($data);