API for Caravan Kings: Trade, Travel, and Territory.
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "90286271830516743",
"domain": null,
"id": 11611602,
"ip": "192.144.225.196",
"port": 33912,
"query": 34412,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780569869,
"last_online": 1780696319,
"icon": null,
"name": "Caravan Kings: Trade, Travel, and Territory.",
"connect": "192.144.225.196:33912",
"request": "192.144.225.196:34412",
"map": "chernarusplus",
"gamemode": null,
"version": "129",
"numplayers": 0,
"maxplayers": 70,
"bots": 86,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779915686,
"last_update": 1780696319,
"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": 7450,
"language": "zh",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11611602");
$data = json_decode($json, true);
var_dump($data);