Call of Duty: Modern Warfare 3
^1nN|^3Domination|^2noname.zone için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11491586json
{
"response": {
"steam_id": "90285215925363713",
"domain": null,
"id": 11491586,
"ip": "82.66.176.252",
"port": 26912,
"query": 27017,
"color": 0,
"city": "Rochy-Condé",
"description": null,
"game": 42690,
"owner": null,
"boosts": 1,
"last_offline": 1777617744,
"score": 0,
"last_online": 1777666881,
"icon": null,
"name": "^1nN|^3Domination|^2noname.zone",
"connect": "82.66.176.252:26912",
"request": "82.66.176.252:27017",
"map": "Lockdown",
"gamemode": "MW3 Game Description",
"version": "1.0.0.1",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1777386754,
"last_update": 1777666881,
"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": 7,
"language": "fr",
"parked": false,
"app": {
"id": 1665339,
"steam_id": 42690,
"name": "Call of Duty: Modern Warfare 3",
"url": "call-of-duty-modern-warfare-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11491586");
$data = json_decode($json, true);
var_dump($data);