API dla Chernarussian Conflict | ChDKZ vs NAPA/CDF
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286971023091714",
"domain": null,
"id": 11798837,
"ip": "93.157.245.93",
"port": 7777,
"query": 27005,
"project_id": null,
"color": 0,
"city": "Vostochnoe Degunino",
"description": "[Katerynka](https://steamcommunity.com/sharedfiles/filedetails/?id=3102933593)\r\n[ArmAIIFactionPack](https://steamcommunity.com/sharedfiles/filedetails/?id=3656015065)\r\n[Rublivka](https://steamcommunity.com/sharedfiles/filedetails/?id=3119721855)\r\n[BigLearning](https://steamcommunity.com/sharedfiles/filedetails/?id=2947290153)\r\n[BodycamPlusPlus](https://steamcommunity.com/sharedfiles/filedetails/?id=3706557839)",
"game": 736590,
"owner": null,
"boosts": 1,
"last_offline": 1781379074,
"last_online": 1781413235,
"icon": null,
"name": "Chernarussian Conflict | ChDKZ vs NAPA/CDF",
"connect": "93.157.245.93:7777",
"request": "93.157.245.93:27005",
"map": "Rublivka",
"gamemode": "OHD Vehicle Overhaul",
"version": "89",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1781379074,
"last_update": 1781413235,
"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": 13,
"language": "ru",
"parked": false,
"app": {
"id": 52393,
"steam_id": 736590,
"name": "Operation: Harsh Doorstop",
"url": "operation-harsh-doorstop"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11798837");
$data = json_decode($json, true);
var_dump($data);