Counter-Strike 2
Name is not set on server के लिए API
हम एकीकरण विधियों की एक विस्तृत श्रृंखला प्रदान करते हैं। आप उनमें से किसी का भी उपयोग कर सकते हैं या JSON API का उपयोग करके अपना खुद का बना सकते हैं। यदि आपके पास नई एकीकरण विधि जोड़ने का सुझाव है, तो कृपया हमसे संपर्क करें। हमसे संपर्क करें
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/8321652json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8321652,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 730,
"owner": 84775,
"boosts": 1,
"last_offline": 1751888070,
"score": 0,
"last_online": 1748815831,
"icon": null,
"name": "Name is not set on server",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1743352366,
"last_update": 1751888070,
"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": 15950,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "Pasha416",
"avatar": "374e51cc-9f29-4abc-884d-2a19151f26a6.jpg",
"last_online": 1775657026
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/8321652");
$data = json_decode($json, true);
var_dump($data);