Minecraft
API pentru www.igralsk.online (''(o_O)/'') t.me/igralsk
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7806631json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7806631,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 9000034,
"owner": 106728,
"boosts": 1,
"last_offline": 1750457064,
"score": 0,
"last_online": 1742632249,
"icon": null,
"name": "www.igralsk.online (''(o_O)/'') t.me/igralsk",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1739975686,
"last_update": 1750457064,
"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": 6894,
"language": "ru",
"parked": true,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "whatislovestark",
"avatar": "c5854f46-fd48-4b08-b274-512f4d3e2045.jpg",
"last_online": 1774720788
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/7806631");
$data = json_decode($json, true);
var_dump($data);