Quake Live
API для -=Moon Duel 2=-
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1683684json
{
"response": {
"steam_id": 90284338719168540,
"domain": null,
"id": 1683684,
"ip": "120.76.221.244",
"port": 27967,
"query": 27967,
"color": 0,
"city": "Shenzhen",
"description": "",
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1770106672,
"score": null,
"last_online": 1776269482,
"icon": null,
"name": "-=Moon Duel 2=-",
"connect": "120.76.221.244:27967",
"request": "120.76.221.244:27967",
"map": "bloodrun",
"gamemode": "Duel",
"version": "1069",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1698946902,
"last_update": 1776269482,
"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": 165,
"language": "zh",
"parked": false,
"app": {
"id": 138,
"steam_id": 282440,
"name": "Quake Live",
"url": "quake-live"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1683684");
$data = json_decode($json, true);
var_dump($data);