V Rising
API pentru V Rising server by G-Portal.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11208231json
{
"response": {
"steam_id": 90284391795064850,
"domain": null,
"id": 11208231,
"ip": "83.223.197.34",
"port": 28000,
"query": 28015,
"color": 0,
"city": "Taoyuan",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776174717,
"score": 0,
"last_online": 1776821444,
"icon": null,
"name": "V Rising server by G-Portal.com",
"connect": "83.223.197.34:28000",
"request": "83.223.197.34:28015",
"map": "VRisingWorld",
"gamemode": "9e3a9095-50a5-4798-a898-f0f0f79f1bb5",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "TW",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772700492,
"last_update": 1776821444,
"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": 2315,
"language": "zh",
"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/11208231");
$data = json_decode($json, true);
var_dump($data);