Minecraft
API pentru Legendary NetWork Survival Dangeon ]1.21.8[/
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10866419json
{
"response": {
"steam_id": null,
"domain": "legendaryro.mine.gg",
"id": 10866419,
"ip": "62.210.231.105",
"port": 12010,
"query": 12010,
"color": 0,
"city": "Paris",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774824729,
"score": 0,
"last_online": 1776823286,
"icon": null,
"name": "Legendary NetWork Survival Dangeon ]1.21.8[/",
"connect": "legendaryro.mine.gg:12010",
"request": "62.210.231.105:12010",
"map": null,
"gamemode": null,
"version": "Paper 1.21.8",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768317180,
"last_update": 1776823286,
"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": 4272,
"language": "fr",
"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/10866419");
$data = json_decode($json, true);
var_dump($data);