Arma 3
Star Wars Starsim | 104th Eclipse Company | Main Server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3594746json
{
"response": {
"steam_id": "90284583167808526",
"domain": null,
"id": 3594746,
"ip": "38.18.231.193",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Dallas",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776468749,
"score": null,
"last_online": 1776492645,
"icon": null,
"name": "Star Wars Starsim | 104th Eclipse Company | Main Server",
"connect": "38.18.231.193:2302",
"request": "38.18.231.193:2303",
"map": "Woodland_ACR",
"gamemode": "Operation%20Molerat%202",
"version": "2.20.152939",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1711396847,
"last_update": 1776492645,
"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": 628,
"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/3594746");
$data = json_decode($json, true);
var_dump($data);