Сервер для твоей души için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": "eskant.pro",
"id": 11602731,
"ip": "188.127.241.24",
"port": 31077,
"query": 31077,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1779546819,
"last_online": 1779547357,
"icon": null,
"name": "Сервер для твоей души",
"connect": "eskant.pro:31077",
"request": "188.127.241.24:31077",
"map": null,
"gamemode": null,
"version": "Purpur 1.21.4",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1779537293,
"last_update": 1779547357,
"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": 5325,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11602731");
$data = json_decode($json, true);
var_dump($data);