MIA1-009TBR için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90287023177264159",
"domain": null,
"id": 11805970,
"ip": "162.254.206.131",
"port": 28068,
"query": 27068,
"project_id": null,
"color": 0,
"city": "Miami",
"description": null,
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1781479446,
"last_online": 1781466788,
"icon": null,
"name": "MIA1-009TBR",
"connect": "162.254.206.131:28068",
"request": "162.254.206.131:27068",
"map": "1",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1781464850,
"last_update": 1781479446,
"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": 1203,
"language": "en",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11805970");
$data = json_decode($json, true);
var_dump($data);