Counter-Strike
API pentru [COD MOD] 1001 LEVEL | DARMOWY VIP | UNIKAT *FRAGARENA.PL*
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7725938json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7725938,
"ip": "193.33.176.27",
"port": 27120,
"query": 27120,
"color": 0,
"city": "Gdansk",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1776190275,
"score": 0,
"last_online": 1776813035,
"icon": null,
"name": "[COD MOD] 1001 LEVEL | DARMOWY VIP | UNIKAT *FRAGARENA.PL*",
"connect": "193.33.176.27:27120",
"request": "193.33.176.27:27120",
"map": "de_dust2",
"gamemode": "### COD MOD ###",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 20,
"bots": 14,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1739785697,
"last_update": 1776813035,
"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": 3338,
"language": "pl",
"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/7725938");
$data = json_decode($json, true);
var_dump($data);