API для Welcome to Mylona's Cobblemon!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": "poke.mylonamc.net",
"id": 11084146,
"ip": "38.58.177.211",
"port": 19209,
"query": 19209,
"project_id": null,
"color": 0,
"city": "Draper",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780930408,
"last_online": 1780591986,
"icon": null,
"name": "Welcome to Mylona's Cobblemon!",
"connect": "poke.mylonamc.net:19209",
"request": "38.58.177.211:19209",
"map": null,
"gamemode": null,
"version": "1.21.1",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770022899,
"last_update": 1780930408,
"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": 5340,
"language": "en",
"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/11084146");
$data = json_decode($json, true);
var_dump($data);