Counter-Strike
API pentru # [ZM] ´ཀ` [̲̅Z][̲̅M] CS-DREAM | ZOMBIE CLASSIC
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/600189json
{
"response": {
"steam_id": null,
"domain": null,
"id": 600189,
"ip": "45.136.205.56",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773011532,
"score": null,
"last_online": 1776206417,
"icon": null,
"name": "# [ZM] ´ཀ` [̲̅Z][̲̅M] CS-DREAM | ZOMBIE CLASSIC",
"connect": "45.136.205.56:27015",
"request": "45.136.205.56:27015",
"map": "zm_franqeeto_final",
"gamemode": "Zombie Mod",
"version": "1.1.2.7/Stdio",
"numplayers": 10,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1669398721,
"last_update": 1776206417,
"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": 2305,
"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/600189");
$data = json_decode($json, true);
var_dump($data);