Insurgency: Sandstorm
API pentru UMVD Crazy World -Maximum HC-
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/3709584json
{
"response": {
"steam_id": "85568392931344654",
"domain": null,
"id": 3709584,
"ip": "134.255.222.162",
"port": 23900,
"query": 23910,
"color": 0,
"city": "Frankfurt am Main",
"description": "",
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1773934276,
"score": 0,
"last_online": 1776444100,
"icon": null,
"name": "UMVD Crazy World -Maximum HC-",
"connect": "134.255.222.162:23900",
"request": "134.255.222.162:23910",
"map": "Farmhouse",
"gamemode": "Range",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1712241362,
"last_update": 1776444100,
"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": 93,
"language": "de",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/3709584");
$data = json_decode($json, true);
var_dump($data);