Minecraft
API pentru )Roleplay DND Experience!RPDND ( WW WWFreshly updated to 1.20.4!
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8367267json
{
"response": {
"steam_id": null,
"domain": "play.rpdnd.com",
"id": 8367267,
"ip": "104.128.51.206",
"port": 25577,
"query": 25577,
"color": 0,
"city": "Chicago",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1774476159,
"score": 0,
"last_online": 1776091240,
"icon": null,
"name": ")Roleplay DND Experience!RPDND ( WW WWFreshly updated to 1.20.4!",
"connect": "play.rpdnd.com:25577",
"request": "104.128.51.206:25577",
"map": null,
"gamemode": null,
"version": "Paper 1.20.4",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743589976,
"last_update": 1776091240,
"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": 2931,
"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/8367267");
$data = json_decode($json, true);
var_dump($data);