Counter-Strike: Global Offensive
API pentru FragMasters.pl [Only Mirage][WS][KNIFE][RANGI][GLOVES][128TR] @
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/138645json
{
"response": {
"steam_id": null,
"domain": null,
"id": 138645,
"ip": "91.224.117.19",
"port": 27400,
"query": 27400,
"color": 0,
"city": "Gdynia",
"description": "",
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1776047512,
"score": null,
"last_online": 1776376243,
"icon": null,
"name": "FragMasters.pl [Only Mirage][WS][KNIFE][RANGI][GLOVES][128TR] @",
"connect": "91.224.117.19:27400",
"request": "91.224.117.19:27400",
"map": "de_mirage",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 1,
"maxplayers": 22,
"bots": 1,
"secured": false,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1552755278,
"last_update": 1776376243,
"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": 505,
"language": "pl",
"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/138645");
$data = json_decode($json, true);
var_dump($data);