Counter-Strike 2
CS2 DUELS#27 AU के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/3285373json
{
"response": {
"steam_id": "85568392923979304",
"domain": null,
"id": 3285373,
"ip": "121.127.47.33",
"port": 26390,
"query": 26390,
"color": 0,
"city": "Sydney",
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776811401,
"score": null,
"last_online": 1776898913,
"icon": null,
"name": "CS2 DUELS#27 AU",
"connect": "121.127.47.33:26390",
"request": "121.127.47.33:26390",
"map": "duels_mirage_xplaygg",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.4",
"numplayers": 0,
"maxplayers": 22,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1709834739,
"last_update": 1776898913,
"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": 2897,
"language": "en",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/3285373");
$data = json_decode($json, true);
var_dump($data);