Counter-Strike 2
CSPORTAL.sk | 🏄 SURF ★SEASON10★ [FIXED RAMP BUGS] के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/140117json
{
"response": {
"steam_id": "85568392920177188",
"domain": null,
"id": 140117,
"ip": "46.227.176.4",
"port": 27023,
"query": 27023,
"color": 0,
"city": "Biely Kostol",
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776812000,
"score": null,
"last_online": 1776822035,
"icon": null,
"name": "CSPORTAL.sk | 🏄 SURF ★SEASON10★ [FIXED RAMP BUGS]",
"connect": "46.227.176.4:27023",
"request": "46.227.176.4:27023",
"map": "surf_pantheon",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.3",
"numplayers": 1,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "SK",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1552756141,
"last_update": 1776822035,
"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": 1261,
"language": "sk",
"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/140117");
$data = json_decode($json, true);
var_dump($data);