V Rising
API pentru The Box
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10539385json
{
"response": {
"steam_id": "90276677898214429",
"domain": null,
"id": 10539385,
"ip": "103.1.213.110",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Sydney",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1771773095,
"score": 0,
"last_online": 1776450691,
"icon": null,
"name": "The Box",
"connect": "103.1.213.110:9876",
"request": "103.1.213.110:9877",
"map": "VRisingWorld",
"gamemode": "1c812f6e-bc26-4c8f-8742-694bb471bef9",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762520026,
"last_update": 1776450691,
"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": 1315,
"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/10539385");
$data = json_decode($json, true);
var_dump($data);