Adamite Network | Semi-RP | 24/7 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "85568392936360549",
"domain": null,
"id": 11730024,
"ip": "164.68.115.102",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780421058,
"last_online": 1780434688,
"icon": "https://i.imgur.com/xVL9eSu.png",
"name": " Adamite Network | Semi-RP | 24/7 ",
"connect": "164.68.115.102:27018",
"request": "164.68.115.102:27018",
"map": "Washington_Adamite",
"gamemode": "PvP, Offline Raid Protection, Custom Content!",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780389122,
"last_update": 1780434688,
"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": 1904,
"language": "fr",
"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/11730024");
$data = json_decode($json, true);
var_dump($data);