Arma 3
A3Wasteland | Official Trailerpark | Stratis! discord.gg/uAfUP2 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11021012json
{
"response": {
"steam_id": "90284789483115538",
"domain": null,
"id": 11021012,
"ip": "152.53.82.129",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Manassas",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774436520,
"score": 0,
"last_online": 1776820248,
"icon": null,
"name": "A3Wasteland | Official Trailerpark | Stratis! discord.gg/uAfUP2",
"connect": "152.53.82.129:2302",
"request": "152.53.82.129:2303",
"map": "Stratis",
"gamemode": "TTP_Wasteland",
"version": "2.20.152939",
"numplayers": 0,
"maxplayers": 90,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769945800,
"last_update": 1776820248,
"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": 2174,
"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/11021012");
$data = json_decode($json, true);
var_dump($data);