Counter-Strike: Global Offensive
API pentru [GPLAY.GG] CSGO Matchmaking - Demolition
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11349078json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11349078,
"ip": "51.195.61.125",
"port": 27052,
"query": 27052,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1776015096,
"score": 0,
"last_online": 1776834706,
"icon": null,
"name": "[GPLAY.GG] CSGO Matchmaking - Demolition",
"connect": "51.195.61.125:27052",
"request": "51.195.61.125:27052",
"map": "de_bank",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774594745,
"last_update": 1776834706,
"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": 1695,
"language": "de",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11349078");
$data = json_decode($json, true);
var_dump($data);