Counter-Strike: Source
[Millennials™] Public के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10292324json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10292324,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Tandil",
"description": null,
"game": 240,
"owner": 168681,
"boosts": 1,
"last_offline": 1772949695,
"score": 0,
"last_online": 1772071213,
"icon": null,
"name": "[Millennials™] Public",
"connect": null,
"request": null,
"map": "de_dust2_csm2_beta4",
"gamemode": "I.S.A.N.E",
"version": null,
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": false,
"country": "AR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1757671522,
"last_update": 1772949695,
"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": 1959,
"language": "es",
"parked": true,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "claudio_mi_o",
"avatar": "c8c6256c-9d27-4ee0-a9f7-7da335f890d8.jpg",
"last_online": 1771843579
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10292324");
$data = json_decode($json, true);
var_dump($data);