Counter-Strike: Source
API pentru [FR] LES DELIRIUM'S [FUN OBJECTIF NO CAMP]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11043590json
{
"response": {
"steam_id": "90284352513863699",
"domain": null,
"id": 11043590,
"ip": "164.132.9.204",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1774691541,
"score": 0,
"last_online": 1776173413,
"icon": null,
"name": "[FR] LES DELIRIUM'S [FUN OBJECTIF NO CAMP]",
"connect": "164.132.9.204:27015",
"request": "164.132.9.204:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 13,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1769953393,
"last_update": 1776173413,
"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": 283,
"language": "fr",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11043590");
$data = json_decode($json, true);
var_dump($data);