Counter-Strike
Bad Boy'z |CoD:MW2| [Free Premium 22h-11h] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9441221json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9441221,
"ip": "217.156.22.112",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Berceni",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774553518,
"score": 5,
"last_online": 1776192621,
"icon": null,
"name": "Bad Boy'z |CoD:MW2| [Free Premium 22h-11h]",
"connect": "217.156.22.112:27015",
"request": "217.156.22.112:27015",
"map": "de_westwood_big",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 7,
"maxplayers": 32,
"bots": 23,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 45,
"add_date": 1748298651,
"last_update": 1776192621,
"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": 3041,
"language": "ro",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/9441221");
$data = json_decode($json, true);
var_dump($data);