Day of Defeat: Source
BLITZKRIEG WHORES 18+ | HLstatsX | Customs | No Bots | All Talk के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/244182json
{
"response": {
"steam_id": "90284659756878868",
"domain": null,
"id": 244182,
"ip": "162.248.94.53",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Seattle",
"description": "",
"game": 300,
"owner": null,
"boosts": 1,
"last_offline": 1774156925,
"score": null,
"last_online": 1776613337,
"icon": null,
"name": "BLITZKRIEG WHORES 18+ | HLstatsX | Customs | No Bots | All Talk",
"connect": "162.248.94.53:27015",
"request": "162.248.94.53:27015",
"map": "dod_orange_fight_arena",
"gamemode": "Day of Defeat",
"version": "9540945",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1583081825,
"last_update": 1776613337,
"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": 40,
"language": "en",
"parked": false,
"app": {
"id": 8,
"steam_id": 300,
"name": "Day of Defeat: Source",
"url": "day-of-defeat-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/244182");
$data = json_decode($json, true);
var_dump($data);