V Rising
API pentru BloodCraft: Eternal Prestige
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11365763json
{
"response": {
"steam_id": "90284727971128328",
"domain": null,
"id": 11365763,
"ip": "64.87.38.66",
"port": 25566,
"query": 25567,
"color": 0,
"city": "San Jose",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1776203473,
"score": 0,
"last_online": 1776795727,
"icon": null,
"name": "BloodCraft: Eternal Prestige",
"connect": "64.87.38.66:25566",
"request": "64.87.38.66:25567",
"map": "VRisingWorld",
"gamemode": "299355f7-7912-4b6a-bf75-5364f73b4d80",
"version": "0.0.0.1",
"numplayers": 1,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774595202,
"last_update": 1776795727,
"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": 2604,
"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/11365763");
$data = json_decode($json, true);
var_dump($data);