Counter-Strike
-★- M I L L E N N I U M -★- için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10154372json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10154372,
"ip": "80.241.246.26",
"port": 27225,
"query": 27225,
"color": 0,
"city": "Tbilisi",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1772242294,
"score": 0,
"last_online": 1776210021,
"icon": null,
"name": "-★- M I L L E N N I U M -★-",
"connect": "80.241.246.26:27225",
"request": "80.241.246.26:27225",
"map": "aim_ak_map",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "GE",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1756205843,
"last_update": 1776210021,
"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": 2823,
"language": "ka",
"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/10154372");
$data = json_decode($json, true);
var_dump($data);