Deathmatch Classic
API для BaseQ.fr | ARCADE MODE - Fun for Beginners!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7070588json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7070588,
"ip": "185.157.244.204",
"port": 21032,
"query": 21032,
"color": 0,
"city": "Nanterre",
"description": null,
"game": 40,
"owner": null,
"boosts": 1,
"last_offline": 1776654198,
"score": 0,
"last_online": 1776780688,
"icon": null,
"name": "BaseQ.fr | ARCADE MODE - Fun for Beginners!",
"connect": "185.157.244.204:21032",
"request": "185.157.244.204:21032",
"map": "dmc_q2dm1_test4",
"gamemode": "DMC | Arcade Mode",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1735751337,
"last_update": 1776780688,
"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": 14,
"language": "fr",
"parked": false,
"app": {
"id": 29,
"steam_id": 40,
"name": "Deathmatch Classic",
"url": "deathmatch-classic"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7070588");
$data = json_decode($json, true);
var_dump($data);