Counter-Strike
API pentru ( ◣ _ ◢ ) Зомби VS Девки (◣ _ ◢ )
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/2856428json
{
"response": {
"steam_id": null,
"domain": null,
"id": 2856428,
"ip": "46.0.193.10",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Samara",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776217314,
"score": null,
"last_online": 1776243055,
"icon": null,
"name": "( ◣ _ ◢ ) Зомби VS Девки (◣ _ ◢ )",
"connect": "46.0.193.10:27017",
"request": "46.0.193.10:27017",
"map": "zm_zombie_land_nd",
"gamemode": "[ ЗОМБИ 2026 ]",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 20,
"bots": 4,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1707212196,
"last_update": 1776243055,
"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": 5339,
"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/2856428");
$data = json_decode($json, true);
var_dump($data);