Unturned
2Connect1 France PvE için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5559892json
{
"response": {
"steam_id": "85568392926449773",
"domain": null,
"id": 5559892,
"ip": "86.88.34.10",
"port": 27021,
"query": 27021,
"color": 0,
"city": "Hengelo",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1775055134,
"score": 0,
"last_online": 1776109830,
"icon": "https://i.imgur.com/Cbt8YHa.png",
"name": "2Connect1 France PvE",
"connect": "86.88.34.10:27021",
"request": "86.88.34.10:27021",
"map": "France",
"gamemode": "No Raid|Shop|Kit|Airdrop|Feasts|TPA",
"version": "3.26.2.2",
"numplayers": 0,
"maxplayers": 69,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1723304723,
"last_update": 1776109830,
"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": 167,
"language": "nl",
"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/5559892");
$data = json_decode($json, true);
var_dump($data);