Arma Reforger
API pentru TEST SERVER FOR TESTING abys
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10345392json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10345392,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 1874880,
"owner": 137018,
"boosts": 1,
"last_offline": 1761458583,
"score": 5,
"last_online": 1760550026,
"icon": null,
"name": "TEST SERVER FOR TESTING abys",
"connect": null,
"request": null,
"map": "Inspired by Arma 2 DayZ Mod",
"gamemode": "Arma Reforger",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1758494006,
"last_update": 1761458583,
"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": 51,
"language": "de",
"parked": true,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": {
"username": "andy_anday",
"avatar": "f1d5dea5-b03f-421f-8d90-0f3ba8658eab.jpg",
"last_online": 1760889119
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10345392");
$data = json_decode($json, true);
var_dump($data);