ARK: Survival Evolved
API pentru [AU/NZ]OCGPVE:OMEGA-CIE/TheIsland(x3XP,x8H,x20T)
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8377267json
{
"response": {
"steam_id": "90285783091997717",
"domain": null,
"id": 8377267,
"ip": "103.62.51.134",
"port": 7837,
"query": 22075,
"color": 0,
"city": "Sydney",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1778847778,
"score": 0,
"last_online": 1779129635,
"icon": null,
"name": "[AU/NZ]OCGPVE:OMEGA-CIE/TheIsland(x3XP,x8H,x20T)",
"connect": "103.62.51.134:7837",
"request": "103.62.51.134:22075",
"map": "TheIsland",
"gamemode": "TestGameMode_C",
"version": "358.24",
"numplayers": 2,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1743669395,
"last_update": 1779129635,
"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": 1863,
"language": "en",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8377267");
$data = json_decode($json, true);
var_dump($data);