API pentru 『CSDM』•Пушки+Лазеры•ღFREEVIPღ
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11695885,
"ip": "46.174.52.94",
"port": 11111,
"query": 11111,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1780994664,
"last_online": 1781037647,
"icon": null,
"name": "『CSDM』•Пушки+Лазеры•ღFREEVIPღ",
"connect": "46.174.52.94:11111",
"request": "46.174.52.94:11111",
"map": "de_dust2",
"gamemode": "[WWW.BestKiLL.Ru]",
"version": "1.1.2.7/Stdio",
"numplayers": 5,
"maxplayers": 32,
"bots": 8,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1780226348,
"last_update": 1781037647,
"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": 4656,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11695885");
$data = json_decode($json, true);
var_dump($data);