API pentru EU Rise Again | No Wipes
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": "90286246428563481",
"domain": null,
"id": 11623828,
"ip": "185.239.236.84",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Münster",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779916125,
"last_online": 1780687845,
"icon": null,
"name": "EU Rise Again | No Wipes",
"connect": "185.239.236.84:9876",
"request": "185.239.236.84:9877",
"map": "VRisingWorld",
"gamemode": "8be08cf7-3c06-4f76-82f1-e572295656b1",
"version": "0.0.0.1",
"numplayers": 6,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1779916125,
"last_update": 1780687845,
"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": 114,
"language": "de",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11623828");
$data = json_decode($json, true);
var_dump($data);