Conan Exiles
API для Cannibal Country
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5470245json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5470245,
"ip": "144.126.144.58",
"port": 29800,
"query": 29815,
"color": 0,
"city": "Seattle",
"description": null,
"game": 440900,
"owner": null,
"boosts": 1,
"last_offline": 1776303112,
"score": 0,
"last_online": 1776393032,
"icon": null,
"name": "Cannibal Country",
"connect": "144.126.144.58:29800",
"request": "144.126.144.58:29815",
"map": "The Exiled Lands",
"gamemode": "Conan Exiles",
"version": null,
"numplayers": 1,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1722855810,
"last_update": 1776393032,
"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": 35,
"language": "en",
"parked": false,
"app": {
"id": 170,
"steam_id": 440900,
"name": "Conan Exiles",
"url": "conan-exiles"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5470245");
$data = json_decode($json, true);
var_dump($data);