Counter-Strike 2
▓▓ ✖ UtopiaFPS.pl ✦ [DUELS #1] 🟠 SKINY|NOZE|REKAWICE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11023877json
{
"response": {
"steam_id": "85568392935591285",
"domain": null,
"id": 11023877,
"ip": "51.75.59.212",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Wroclaw",
"description": null,
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1776824551,
"score": 0,
"last_online": 1776765647,
"icon": null,
"name": "▓▓ ✖ UtopiaFPS.pl ✦ [DUELS #1] 🟠 SKINY|NOZE|REKAWICE",
"connect": "51.75.59.212:27018",
"request": "51.75.59.212:27018",
"map": "am_grass2_gg",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.2",
"numplayers": 0,
"maxplayers": 23,
"bots": 1,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1769948281,
"last_update": 1776824551,
"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": 13086,
"language": "pl",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11023877");
$data = json_decode($json, true);
var_dump($data);