Counter-Strike: Source
Only 2000 by Clan-Banderos.de By CoCo için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/202451json
{
"response": {
"steam_id": "90284045473771549",
"domain": null,
"id": 202451,
"ip": "136.243.102.107",
"port": 27040,
"query": 27040,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775564527,
"score": null,
"last_online": 1776110483,
"icon": null,
"name": "Only 2000 by Clan-Banderos.de By CoCo",
"connect": "136.243.102.107:27040",
"request": "136.243.102.107:27040",
"map": "$2000$_steklo",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 64,
"bots": 5,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1558611868,
"last_update": 1776110483,
"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": 830,
"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/202451");
$data = json_decode($json, true);
var_dump($data);