Minecraft
API pentru ---=[Strictly Vanilla 26.1]=--- ClassicVanillaGameplay THE ORIGINAL BEST VANILLA SERVER EVER
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/92540json
{
"response": {
"steam_id": null,
"domain": "mc.strictlyvanilla.org",
"id": 92540,
"ip": "66.70.180.13",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Montreal",
"description": "",
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774502523,
"score": null,
"last_online": 1776392484,
"icon": null,
"name": "---=[Strictly Vanilla 26.1]=--- ClassicVanillaGameplay THE ORIGINAL BEST VANILLA SERVER EVER",
"connect": "mc.strictlyvanilla.org:25565",
"request": "66.70.180.13:25565",
"map": null,
"gamemode": null,
"version": "26.1",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": null,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1521504920,
"last_update": 1776392484,
"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": 1565,
"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/92540");
$data = json_decode($json, true);
var_dump($data);