Counter-Strike
[4FUN] CS-LUZownia.pl [OZYWIANIE,HEAL-DROP,FREEVIP/MISJE/SKINY/ WLASNY PREFIX / RANGI / ASYSTY] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/140441json
{
"response": {
"steam_id": null,
"domain": null,
"id": 140441,
"ip": "145.239.239.244",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Wroclaw",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773949320,
"score": null,
"last_online": 1776204017,
"icon": null,
"name": "[4FUN] CS-LUZownia.pl [OZYWIANIE,HEAL-DROP,FREEVIP/MISJE/SKINY/ WLASNY PREFIX / RANGI / ASYSTY]",
"connect": "145.239.239.244:27015",
"request": "145.239.239.244:27015",
"map": "de_delivery",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 13,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 59,
"add_date": 1552756318,
"last_update": 1776204017,
"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": 2181,
"language": "pl",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/140441");
$data = json_decode($json, true);
var_dump($data);