Insurgency: Sandstorm
[JP]NSB Hardcore Server(21:00-24:00) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/6713106json
{
"response": {
"steam_id": "90284514903383054",
"domain": null,
"id": 6713106,
"ip": "60.115.103.105",
"port": 27102,
"query": 27131,
"color": 0,
"city": "Minato-ku",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1776400364,
"score": 0,
"last_online": 1776375661,
"icon": null,
"name": "[JP]NSB Hardcore Server(21:00-24:00)",
"connect": "60.115.103.105:27102",
"request": "60.115.103.105:27131",
"map": "LastLight",
"gamemode": "Hardcore Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1732210512,
"last_update": 1776400364,
"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": 431,
"language": "ja",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6713106");
$data = json_decode($json, true);
var_dump($data);