Counter-Strike
BEPHЁM BCЁ ЧTO БЫЛO | ̷П̷У̷Ш̷K̷И+LASER के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/7835199json
{
"response": {
"steam_id": "90284338976169986",
"domain": null,
"id": 7835199,
"ip": "46.174.54.107",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773937321,
"score": 0,
"last_online": 1776200411,
"icon": null,
"name": "BEPHЁM BCЁ ЧTO БЫЛO | ̷П̷У̷Ш̷K̷И+LASER",
"connect": "46.174.54.107:27015",
"request": "46.174.54.107:27015",
"map": "cs_mansion_2013",
"gamemode": "|CSVERNEM.RU|",
"version": "1.1.2.7/Stdio",
"numplayers": 27,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 79,
"add_date": 1740138523,
"last_update": 1776200411,
"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": 1808,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7835199");
$data = json_decode($json, true);
var_dump($data);