Minecraft
API pentru ▎ VentureLand ▎ 1.8-1.20 ▎ mc.ventureland.net ▎ Weekly Quality of Life Improvements
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7914634json
{
"response": {
"steam_id": null,
"domain": "mp.ventureland.net",
"id": 7914634,
"ip": "142.44.212.23",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Beauharnois",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1740776807,
"score": 0,
"last_online": 1776092418,
"icon": null,
"name": "▎ VentureLand ▎ 1.8-1.20 ▎ mc.ventureland.net ▎ Weekly Quality of Life Improvements",
"connect": "mp.ventureland.net:25565",
"request": "142.44.212.23:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-1.21.x",
"numplayers": 4,
"maxplayers": 5,
"bots": 0,
"secured": null,
"private": null,
"country": "CA",
"status": true,
"votes": 0,
"points": 57,
"add_date": 1740776807,
"last_update": 1776092418,
"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": 180,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/7914634");
$data = json_decode($json, true);
var_dump($data);