NAMAKE Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"channels": {
"onlinecount": 43,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "ロビー",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
},
{
"clients": 0,
"id": 2,
"items": [],
"name": "Room 1",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "Room 2",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4,
"items": [],
"name": "Room 3",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "Room 4",
"order": 4,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 6,
"items": [],
"name": "Room 5",
"order": 5,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7,
"items": [],
"name": "[*spacer0]-",
"order": 6,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 47,
"items": [],
"name": "待機室",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 9,
"items": [],
"name": "いえ~い",
"order": 8,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "うえ~い",
"order": 9,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 13,
"items": [
{
"clients": 0,
"id": 14,
"items": [],
"name": "1234",
"order": 0,
"parent_id": 13,
"topic": ""
}
],
"name": "shachoo",
"order": 12,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 16,
"items": [],
"name": "しゃっちょ専用",
"order": 13,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 36,
"items": [],
"name": "nekoclimb",
"order": 16,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 38,
"items": [],
"name": "Дискорд",
"order": 36,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 49,
"items": [],
"name": "oppai",
"order": 38,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 8,
"items": [],
"name": "[spacer0]",
"order": 45,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 45,
"items": [],
"name": "[*spacer1]-",
"order": 46,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 46,
"items": [],
"name": "COOP",
"order": 47,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 50,
"items": [],
"name": "og",
"order": 49,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 51,
"items": [],
"name": "flow",
"order": 50,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 52,
"items": [],
"name": "Flow",
"order": 51,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 53,
"items": [],
"name": "serGey top blagi po army",
"order": 52,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 54,
"items": [],
"name": "keshka",
"order": 53,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 55,
"items": [],
"name": "123",
"order": 54,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 56,
"items": [],
"name": "XXX",
"order": 55,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 58,
"items": [],
"name": "OVEGA",
"order": 56,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 67,
"items": [],
"name": "FLOW TURBO",
"order": 58,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 68,
"items": [],
"name": "2222",
"order": 67,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 69,
"items": [],
"name": "Секс с Нагиевым",
"order": 68,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 70,
"items": [],
"name": "RBT",
"order": 69,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 71,
"items": [],
"name": "KABAN111",
"order": 70,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 72,
"items": [],
"name": "11",
"order": 71,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 73,
"items": [],
"name": "kABAH SUDA",
"order": 72,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 84,
"items": [],
"name": "Гнида",
"order": 73,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 100,
"items": [],
"name": "R6",
"order": 84,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 107,
"items": [],
"name": "MANKO",
"order": 100,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 108,
"items": [],
"name": "Abeme",
"order": 107,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 109,
"items": [],
"name": "190",
"order": 108,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 110,
"items": [],
"name": "MTA San Andreas",
"order": 109,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 111,
"items": [],
"name": "12312313212",
"order": 110,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 112,
"items": [],
"name": "123123131",
"order": 111,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 113,
"items": [],
"name": "apexi",
"order": 112,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "S4n7VUV+/O9Pltv2UZyoOSifHL8=",
"platform": "Linux",
"created": 1709296453,
"uptime": 213582,
"steam_id": null,
"domain": null,
"id": 11586592,
"ip": "39.110.87.205",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Utsunomiya",
"description": "Welcome to TeamSpeak, check www.namakeserver.com for latest information",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1779357349,
"last_online": 1780104021,
"icon": null,
"name": "NAMAKE Server",
"connect": "39.110.87.205:9987",
"request": "39.110.87.205:9987",
"map": null,
"gamemode": null,
"version": "3.13.8 Build: 1779874471",
"numplayers": 1,
"maxplayers": 512,
"bots": 0,
"secured": null,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779357349,
"last_update": 1780104021,
"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": 147,
"language": "ja",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11586592");
$data = json_decode($json, true);
var_dump($data);