V Rising
API pentru Rumania
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10282079json
{
"response": {
"steam_id": "90284754289470485",
"domain": null,
"id": 10282079,
"ip": "161.97.159.1",
"port": 28100,
"query": 28115,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776786201,
"score": 0,
"last_online": 1776811232,
"icon": null,
"name": "Rumania",
"connect": "161.97.159.1:28100",
"request": "161.97.159.1:28115",
"map": "VRisingWorld",
"gamemode": "19bf2849-478b-4f64-9e8c-bbc71e74bffd",
"version": "0.0.0.1",
"numplayers": 2,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1757342262,
"last_update": 1776811232,
"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": 51,
"language": "fr",
"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/10282079");
$data = json_decode($json, true);
var_dump($data);