Counter-Strike
Team Safety Dating CS 1.6 Server के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/7042399json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7042399,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 10,
"owner": 96647,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1739293273,
"icon": null,
"name": "Team Safety Dating CS 1.6 Server",
"connect": null,
"request": null,
"map": "fy_pool_day",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": true,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1735638576,
"last_update": 1750457066,
"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": 7111,
"language": "tr",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "Team_Safety_Dating",
"avatar": "c8f58aa8-f751-4e9e-8cf5-85e4bd5c5197.jpg",
"last_online": 1738043618
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7042399");
$data = json_decode($json, true);
var_dump($data);