Counter-Strike
API для gabutiqueCS#2 Deathmatch FFA [Pub]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7042368json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7042368,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 10,
"owner": 59544,
"boosts": 1,
"last_offline": 1763877663,
"score": 0,
"last_online": 1762981818,
"icon": null,
"name": "gabutiqueCS#2 Deathmatch FFA [Pub]",
"connect": null,
"request": null,
"map": "de_inferno_winter",
"gamemode": "CS Deathmatch",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "CL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1735456200,
"last_update": 1763877663,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": true,
"hide_address": true,
"hide_query": true,
"position_game": 7315,
"language": "es",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "babilonialights",
"avatar": "27327568-a995-4cdd-9e1c-040026b2c812.jpg",
"last_online": 1778367004
},
"mods": [],
"disabled_modules": [
"reviews",
"chat"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7042368");
$data = json_decode($json, true);
var_dump($data);