Counter-Strike 2
API pentru REBELS | MIRAGE | !VIP !SKINS !LVL
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/465004json
{
"response": {
"steam_id": null,
"domain": null,
"id": 465004,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Yekaterinburg",
"description": "[{\"id\":\"nJ41W8N7Xg\",\"type\":\"paragraph\",\"data\":{\"text\":\"Добро пожаловать на проект REBELS!\"}},{\"id\":\"QQefH8nbPP\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш сайт: reb-ss.ru\"}},{\"id\":\"BX2ETk1RqU\",\"type\":\"paragraph\",\"data\":{\"text\":\"Группа ВК: vk.com/reb_ss\"}},{\"id\":\"SlH7CBIeEh\",\"type\":\"paragraph\",\"data\":{\"text\":\"Discord: discord.gg/fUdDQz6ec3\"}},{\"id\":\"HqPvQgIfzW\",\"type\":\"paragraph\",\"data\":{\"text\":\"У нас вы встретите уютную атмосферу, стабильный онлайн и отзывчивую администрацию.\"}},{\"id\":\"vqbAVxIM1V\",\"type\":\"paragraph\",\"data\":{\"text\":\"Приятной игры!\"}}]",
"game": 730,
"owner": 71849,
"boosts": 1,
"last_offline": 1772862707,
"score": null,
"last_online": 1771935611,
"icon": null,
"name": "REBELS | MIRAGE | !VIP !SKINS !LVL",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1630827964,
"last_update": 1772862707,
"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": 15564,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "yabaldeu",
"avatar": "no.jpg",
"last_online": 1752169276
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/465004");
$data = json_decode($json, true);
var_dump($data);