Unturned
星洛拉 · 浅梦 | Astlora RP için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11386530json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11386530,
"ip": "202.189.9.244",
"port": 27045,
"query": 27045,
"color": 0,
"city": "Beijing",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1775910676,
"score": 0,
"last_online": 1775575915,
"icon": "https://img.astlora.cn/astlora.png",
"name": "星洛拉 · 浅梦 | Astlora RP",
"connect": "202.189.9.244:27045",
"request": "202.189.9.244:27045",
"map": "Astlora",
"gamemode": "稳定高配|沉浸式|海量插件|集群生态",
"version": null,
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774596275,
"last_update": 1775910676,
"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": 973,
"language": "zh",
"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/11386530");
$data = json_decode($json, true);
var_dump($data);