Unturned
LinuxGSM için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10882947json
{
"response": {
"steam_id": "85568392930459529",
"domain": null,
"id": 10882947,
"ip": "72.224.233.72",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Saco",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1776443607,
"score": 0,
"last_online": 1776780117,
"icon": null,
"name": "LinuxGSM",
"connect": "72.224.233.72:27015",
"request": "72.224.233.72:27015",
"map": "Escalation",
"gamemode": "Furry Refuge",
"version": "3.26.1.1",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768320833,
"last_update": 1776780117,
"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": 407,
"language": "en",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10882947");
$data = json_decode($json, true);
var_dump($data);