Приёмная Иисуса için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 1580149,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": null,
"description": "**CS2-HOUSE.RU** - проект серверов в КС2, которые тебе точно понравятся!\n\n✅Бесплатные скины, ножи, перчатки и агенты!\n✅24/7 за сервером следит администрация!\n✅В самые короткие сроки мы обновляем наши сервера, лагов даже и не заметите!\n\n🔥Ждем тебя на нашем сервере! По команде !viptest тебе дадут випку, приятной игры!🔥\n\nconnect 46.174.53.160:27015 - пропиши в консоль в игре и наслаждайся! Наш сайт: [тык](https://cs2-house.ru/)",
"game": 10,
"owner": 61356,
"boosts": 1,
"last_offline": 1758284167,
"last_online": 1754023820,
"icon": null,
"name": "Приёмная Иисуса",
"connect": null,
"request": null,
"map": "cs_assault",
"gamemode": "Counter-Strike",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1697992601,
"last_update": 1758284167,
"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": 11281,
"language": "ru",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "fijigamer",
"avatar": "40825b9a-d4f7-447c-8b26-2d51f4c60ba0.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1580149");
$data = json_decode($json, true);
var_dump($data);