V Rising
API pentru [AU] Age of Vampires
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10641566json
{
"response": {
"steam_id": "90282835181084681",
"domain": null,
"id": 10641566,
"ip": "45.125.247.87",
"port": 7069,
"query": 7070,
"color": 0,
"city": "Sydney",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1768642743,
"score": 0,
"last_online": 1776436835,
"icon": null,
"name": "[AU] Age of Vampires",
"connect": "45.125.247.87:7069",
"request": "45.125.247.87:7070",
"map": "VRisingWorld",
"gamemode": "4072401a-3b02-4094-874e-295a28cab959",
"version": "0.0.0.1",
"numplayers": 2,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1763716295,
"last_update": 1776436835,
"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": 59,
"language": "en",
"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/10641566");
$data = json_decode($json, true);
var_dump($data);