Counter-Strike: Source
DoGz [GunGame DM] Funtimes/Iceworld|www.dogzgaming.com के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/143203json
{
"response": {
"steam_id": "85568392920042679",
"domain": null,
"id": 143203,
"ip": "149.56.126.90",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Montreal",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1770593460,
"score": null,
"last_online": 1776317417,
"icon": null,
"name": "DoGz [GunGame DM] Funtimes/Iceworld|www.dogzgaming.com",
"connect": "149.56.126.90:27015",
"request": "149.56.126.90:27015",
"map": "gg_funtimes_!give",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 7,
"maxplayers": 36,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 51,
"add_date": 1552834639,
"last_update": 1776317417,
"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": 328,
"language": "en",
"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/143203");
$data = json_decode($json, true);
var_dump($data);