Team Fortress 2
[RU] Адская Дрочильня के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11143437json
{
"response": {
"steam_id": "85568392936178536",
"domain": null,
"id": 11143437,
"ip": "51.250.51.179",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"hHyW-AFmsV\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер с RTD, Таунтами, и другими всякими плюшками, заходите к нам, тут весело!!\"}}]",
"game": 440,
"owner": 171362,
"boosts": 1,
"last_offline": 1775666526,
"score": 5,
"last_online": 1775920811,
"icon": null,
"name": "[RU] Адская Дрочильня",
"connect": "51.250.51.179:27015",
"request": "51.250.51.179:27015",
"map": "cp_orange_transport_update1",
"gamemode": "Team Fortress",
"version": "10515055",
"numplayers": 9,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 108,
"add_date": 1771870370,
"last_update": 1775920811,
"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": 6,
"language": "ru",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": {
"username": "no_a_youtuber",
"avatar": "f5a9ee2b-05ec-47b6-adff-2b6a3772c92a.jpg",
"last_online": 1772136009
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/11143437");
$data = json_decode($json, true);
var_dump($data);