V Rising
the-lads-2 için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11167369json
{
"response": {
"steam_id": "90281969890741270",
"domain": null,
"id": 11167369,
"ip": "51.161.198.188",
"port": 20025,
"query": 20026,
"color": 0,
"city": "North Sydney",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1772228659,
"score": 0,
"last_online": 1776454336,
"icon": null,
"name": "the-lads-2",
"connect": "51.161.198.188:20025",
"request": "51.161.198.188:20026",
"map": "VRisingWorld",
"gamemode": "b02ab500-72b9-45c1-a959-d4fb20d8dd4d",
"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": 1772228659,
"last_update": 1776454336,
"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": 2351,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11167369");
$data = json_decode($json, true);
var_dump($data);