API pentru ISADM_4_Glory
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286456986082315",
"domain": null,
"id": 10879561,
"ip": "209.102.248.108",
"port": 9145,
"query": 9146,
"project_id": null,
"color": 0,
"city": "Lexington",
"description": null,
"game": 427410,
"owner": null,
"boosts": 1,
"last_offline": 1774436519,
"last_online": 1780714348,
"icon": null,
"name": "ISADM_4_Glory",
"connect": "209.102.248.108:9145",
"request": "209.102.248.108:9146",
"map": null,
"gamemode": "Abiotic Factor",
"version": "1.0.0.6",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768319611,
"last_update": 1780714348,
"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": 613,
"language": "en",
"parked": false,
"app": {
"id": 1611062,
"steam_id": 427410,
"name": "Abiotic Factor",
"url": "abiotic-factor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10879561");
$data = json_decode($json, true);
var_dump($data);