Counter-Strike
# INFINIX SERVER [ #DM|FFA ] - TOP10 | TOP10 FACAS | PATENTES के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10155099json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10155099,
"ip": "200.158.211.61",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Apucarana",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775941915,
"score": 0,
"last_online": 1776205213,
"icon": null,
"name": "# INFINIX SERVER [ #DM|FFA ] - TOP10 | TOP10 FACAS | PATENTES",
"connect": "200.158.211.61:27016",
"request": "200.158.211.61:27016",
"map": "de_inferno_1-5",
"gamemode": "[#FREE FOR ALL]",
"version": "1.1.2.7/Stdio",
"numplayers": 11,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "BR",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1756205900,
"last_update": 1776205213,
"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": 1818,
"language": "pt",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10155099");
$data = json_decode($json, true);
var_dump($data);