API pentru HELLGATE STALKER RP
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11539373,
"ip": "94.156.155.90",
"port": 17258,
"query": 26211,
"color": 0,
"city": "Frankfurt am Main",
"description": "DayZ-Expansion-Core��m��!~DayZ-Expansion-LicensedD����6�RaG_BaseBuildingۖ�QA��RaG_Core������DayZ",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355383,
"last_online": 1779473414,
"icon": null,
"name": "HELLGATE STALKER RP",
"connect": "94.156.155.90:17258",
"request": "94.156.155.90:26211",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 125,
"maxplayers": 127,
"bots": 125,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 129,
"add_date": 1779355383,
"last_update": 1779473414,
"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": 240,
"language": "de",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11539373");
$data = json_decode($json, true);
var_dump($data);