Counter-Strike
[ZP] Born2Kill | TEST के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/8357830json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8357830,
"ip": "145.239.138.236",
"port": 28015,
"query": 28015,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773265892,
"score": 0,
"last_online": 1776451829,
"icon": null,
"name": "[ZP] Born2Kill | TEST",
"connect": "145.239.138.236:28015",
"request": "145.239.138.236:28015",
"map": "zm_ark_army_v1",
"gamemode": "Zombie Plague Classic",
"version": "1.1.2.7/Stdio",
"numplayers": 10,
"maxplayers": 32,
"bots": 2,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1743588431,
"last_update": 1776451829,
"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": 2828,
"language": "de",
"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/8357830");
$data = json_decode($json, true);
var_dump($data);