DayZ
API for The Project Main - Chernarus | 4 Group Limit
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/1407102json
{
"response": {
"steam_id": "90284746409748502",
"domain": null,
"id": 1407102,
"ip": "168.100.161.42",
"port": 2302,
"query": 27016,
"color": 0,
"city": "London",
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775857927,
"score": null,
"last_online": 1776796813,
"icon": null,
"name": "The Project Main - Chernarus | 4 Group Limit",
"connect": "168.100.161.42:2302",
"request": "168.100.161.42:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 120,
"maxplayers": 122,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 99,
"add_date": 1696085901,
"last_update": 1776796813,
"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": 473,
"language": "en",
"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/1407102");
$data = json_decode($json, true);
var_dump($data);