API dla **Wipe 07.02 ** MIMESIS EU#02 Namalsk |Teams|Map|CodeLock|1PP
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11127047,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Erfurt",
"description": "[{\"id\":\"V9_FmrXviE\",\"type\":\"paragraph\",\"data\":{\"text\":\"**Welcome to the MIMESIS EU#02 Namalsk |Teams|Map|CodeLock|1PP|cooming soon server!**\\nThis server is dedicated to playing DayZ and runs on version 1.28.161464. The server is located in Germany, ensuring excellent connection speed and minimal latency for players from this region. This is especially important for those who value stable and fast gameplay. VAC protection is enabled on the server, making the game fair and safe.\"}},{\"id\":\"eQNpMgwpLB\",\"type\":\"paragraph\",\"data\":{\"text\":\"Join our discord to get all informations: https://discord.gg/5DtjhEzBtE\"}}]",
"game": 221100,
"owner": 165556,
"boosts": 1,
"last_offline": 1775023297,
"last_online": 1774133411,
"icon": null,
"name": "**Wipe 07.02 ** MIMESIS EU#02 Namalsk |Teams|Map|CodeLock|1PP",
"connect": null,
"request": null,
"map": "namalsk",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770154158,
"last_update": 1775023297,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 14130,
"language": "en",
"parked": true,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "niklas306",
"avatar": "no.jpg"
},
"mods": [
{
"id": 1615,
"name": "CF"
},
{
"id": 1653,
"name": "Code Lock"
},
{
"id": 1614,
"name": "VPPAdminTools"
},
{
"id": 1610,
"name": "Dabs Framework"
},
{
"id": 1739,
"name": "Ear Plugs"
},
{
"id": 1848,
"name": "Autorun"
},
{
"id": 1612,
"name": "Namalsk Survival"
},
{
"id": 1613,
"name": "Namalsk Island"
},
{
"id": 1804,
"name": "MMG"
},
{
"id": 2095,
"name": "Map"
},
{
"id": 2096,
"name": "Groups"
},
{
"id": 1865,
"name": "DayZ-Expansion-BaseBuilding"
}
],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11127047");
$data = json_decode($json, true);
var_dump($data);