Core Keeper
API для 0.world
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11480512json
{
"response": {
"steam_id": "90283659563080708",
"domain": null,
"id": 11480512,
"ip": "162.220.13.172",
"port": 26071,
"query": 26072,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 1621690,
"owner": null,
"boosts": 1,
"last_offline": 1775085131,
"score": 0,
"last_online": 1775930433,
"icon": null,
"name": "0.world",
"connect": "162.220.13.172:26071",
"request": "162.220.13.172:26072",
"map": null,
"gamemode": "Core Keeper",
"version": "1.2.0.6-8249",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774979167,
"last_update": 1775930433,
"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": 996,
"language": "en",
"parked": false,
"app": {
"id": 1560042,
"steam_id": 1621690,
"name": "Core Keeper",
"url": "core-keeper"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11480512");
$data = json_decode($json, true);
var_dump($data);