GRIEF SURVIVAL için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11489742,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Sydney",
"description": null,
"game": 9000034,
"owner": 187944,
"boosts": 1,
"last_offline": 1778911330,
"last_online": 1777981357,
"icon": null,
"name": "GRIEF SURVIVAL",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": "Paper 1.12.2",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": null,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1776794694,
"last_update": 1778911330,
"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": 5684,
"language": "en",
"parked": true,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "xxl_fer",
"avatar": "1e899302-c914-4ad6-8465-fbc1e64727fb.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11489742");
$data = json_decode($json, true);
var_dump($data);