Arma 3
21st NC Starsim | Fun Op için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10025358json
{
"response": {
"steam_id": "90284710836730906",
"domain": null,
"id": 10025358,
"ip": "199.33.118.21",
"port": 2550,
"query": 2551,
"color": 0,
"city": "Hillsboro",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776825154,
"score": 0,
"last_online": 1776724855,
"icon": null,
"name": "21st NC Starsim | Fun Op",
"connect": "199.33.118.21:2550",
"request": "199.33.118.21:2551",
"map": null,
"gamemode": "Waiting",
"version": "2.20.153545",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1755041644,
"last_update": 1776825154,
"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": 3444,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10025358");
$data = json_decode($json, true);
var_dump($data);