RC.TEAM için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"channels": {
"onlinecount": 19,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "TAPOR (приемная)",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
},
{
"clients": 0,
"id": 7,
"items": [
{
"clients": 0,
"id": 18,
"items": [],
"name": "ESEA",
"order": 0,
"parent_id": 7,
"topic": ""
}
],
"name": "w84me",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 15,
"items": [],
"name": "faceit",
"order": 5,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "AFK",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 16,
"items": [],
"name": "Канал для поднятия эло",
"order": 15,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "TitanQuest",
"order": 16,
"parent_id": 0,
"topic": "Тут главный Гоша"
},
{
"clients": 0,
"id": 21,
"items": [],
"name": "deadcock team fighting",
"order": 17,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 25,
"items": [],
"name": "yadro",
"order": 21,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 121,
"items": [],
"name": "Nx",
"order": 25,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 143,
"items": [],
"name": "rustafied",
"order": 29,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 29,
"items": [],
"name": "CarX",
"order": 121,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 150,
"items": [],
"name": "csn",
"order": 143,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 167,
"items": [],
"name": "+vibe",
"order": 150,
"parent_id": 0,
"topic": ""
},
{
"clients": 5,
"id": 224,
"items": [],
"name": "ShewpSss",
"order": 167,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 225,
"items": [],
"name": "DAEA",
"order": 224,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 228,
"items": [],
"name": "6767",
"order": 225,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 231,
"items": [],
"name": "duo",
"order": 228,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 235,
"items": [],
"name": "stas vodolaz",
"order": 231,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "YGfcjMX668CnLNIX9Aeaj5Kl5CE=",
"platform": "Linux",
"created": 1728472194,
"uptime": 260194,
"steam_id": null,
"domain": null,
"id": 11492605,
"ip": "5.187.1.170",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Frankfurt am Main",
"description": "csparty",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1779093385,
"last_online": 1780427425,
"icon": null,
"name": "RC.TEAM",
"connect": "5.187.1.170:9987",
"request": "5.187.1.170:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 11,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1779093385,
"last_update": 1780427425,
"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": 67,
"language": "de",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11492605");
$data = json_decode($json, true);
var_dump($data);