Counter-Strike: Source
¦SoCLan¦ - DeathMatch “AIM HEADSHOT” के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/201987json
{
"response": {
"steam_id": "90283723264230428",
"domain": null,
"id": 201987,
"ip": "37.230.228.46",
"port": 27002,
"query": 27002,
"color": 0,
"city": "Moscow",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1774968683,
"score": null,
"last_online": 1776104419,
"icon": null,
"name": "¦SoCLan¦ - DeathMatch “AIM HEADSHOT”",
"connect": "37.230.228.46:27002",
"request": "37.230.228.46:27002",
"map": "aim_1deag",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 10,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1558611673,
"last_update": 1776104419,
"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": 456,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/201987");
$data = json_decode($json, true);
var_dump($data);