Counter-Strike
ПУШКИ + ЛАЗЕРЫ #9 ® FRAGLIMIT.RU के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/209932json
{
"response": {
"steam_id": null,
"domain": null,
"id": 209932,
"ip": "95.31.21.158",
"port": 27034,
"query": 27034,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775668326,
"score": null,
"last_online": 1776159611,
"icon": null,
"name": "ПУШКИ + ЛАЗЕРЫ #9 ® FRAGLIMIT.RU",
"connect": "95.31.21.158:27034",
"request": "95.31.21.158:27034",
"map": "de_surreal",
"gamemode": "FRAGLIMIT.RU",
"version": "1.1.2.7/Stdio",
"numplayers": 30,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 96,
"add_date": 1582845168,
"last_update": 1776159611,
"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": 1547,
"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/209932");
$data = json_decode($json, true);
var_dump($data);