Space Engineers
GPSE SERVER için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10673569json
{
"response": {
"steam_id": "90284529773931528",
"domain": null,
"id": 10673569,
"ip": "45.92.36.171",
"port": 27076,
"query": 27076,
"color": 0,
"city": "Maidenhead",
"description": null,
"game": 244850,
"owner": null,
"boosts": 1,
"last_offline": 1775943116,
"score": 0,
"last_online": 1776448272,
"icon": null,
"name": "GPSE SERVER",
"connect": "45.92.36.171:27076",
"request": "45.92.36.171:27076",
"map": "GPSE - Clangadayga - GP500",
"gamemode": "Space Engineers",
"version": "1208015",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764580652,
"last_update": 1776448272,
"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": 1100,
"language": "en",
"parked": false,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10673569");
$data = json_decode($json, true);
var_dump($data);