12th Cavalry Regiment | HaloSim için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286675913339912",
"domain": null,
"id": 11676086,
"ip": "199.60.101.250",
"port": 2311,
"query": 2312,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780754603,
"last_online": 1780771850,
"icon": null,
"name": "12th Cavalry Regiment | HaloSim",
"connect": "199.60.101.250:2311",
"request": "199.60.101.250:2312",
"map": "dagger_island_summer",
"gamemode": "12th%20CAV%20Training%20Base%20V1%2e2",
"version": "2.20.152984",
"numplayers": 1,
"maxplayers": 19,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1780181637,
"last_update": 1780771850,
"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": 296,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11676086");
$data = json_decode($json, true);
var_dump($data);