Counter-Strike: Source
Berlin Survival Server II {FAST-DL} için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3293417json
{
"response": {
"steam_id": "90281343047332867",
"domain": null,
"id": 3293417,
"ip": "195.201.56.183",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1772053298,
"score": null,
"last_online": 1776174632,
"icon": null,
"name": "Berlin Survival Server II {FAST-DL}",
"connect": "195.201.56.183:27025",
"request": "195.201.56.183:27025",
"map": "de_prodigy",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1709841752,
"last_update": 1776174632,
"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": 1010,
"language": "de",
"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/3293417");
$data = json_decode($json, true);
var_dump($data);