API pentru [v34][UA] Вінницький паблік 18+ [DD2 ONLY]
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11127043,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 240,
"owner": 165533,
"boosts": 1,
"last_offline": 1780811614,
"last_online": 1779875424,
"icon": null,
"name": "[v34][UA] Вінницький паблік 18+ [DD2 ONLY]",
"connect": null,
"request": null,
"map": "de_dust2",
"gamemode": "FREE VIP 24/7",
"version": "1.0.0.34",
"numplayers": 0,
"maxplayers": 23,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770148204,
"last_update": 1780811614,
"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": 4602,
"language": "pl",
"parked": true,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "sasha35",
"avatar": "3b94741a-2617-4ab1-9f15-f7782d9ec395.jpg"
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11127043");
$data = json_decode($json, true);
var_dump($data);