Counter-Strike: Source
[KSFClan.com] #1 24/7 SurfTimer! [Expert Only] için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6320891json
{
"response": {
"steam_id": "90284175876109336",
"domain": null,
"id": 6320891,
"ip": "74.91.123.51",
"port": 27016,
"query": 27016,
"color": 0,
"city": "New York",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775279530,
"score": 0,
"last_online": 1776116425,
"icon": null,
"name": "[KSFClan.com] #1 24/7 SurfTimer! [Expert Only]",
"connect": "74.91.123.51:27016",
"request": "74.91.123.51:27016",
"map": "surf_happyhands3",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 2,
"maxplayers": 60,
"bots": 3,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1729636035,
"last_update": 1776116425,
"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": 633,
"language": "en",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6320891");
$data = json_decode($json, true);
var_dump($data);