API для CHICKEN WORLD ☠ Ио-хо-хо, пират Джек уже тут☠
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11252346,
"ip": "82.202.197.200",
"port": 30029,
"query": 30029,
"project_id": null,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780508576,
"last_online": 1781095883,
"icon": null,
"name": "CHICKEN WORLD ☠ Ио-хо-хо, пират Джек уже тут☠",
"connect": "82.202.197.200:30029",
"request": "82.202.197.200:30029",
"map": null,
"gamemode": null,
"version": "26.1.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1773675538,
"last_update": 1781095883,
"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": 3970,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11252346");
$data = json_decode($json, true);
var_dump($data);