Welcome To Derry için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": 90286459453938690,
"domain": null,
"id": 11536184,
"ip": "51.222.41.13",
"port": 27615,
"query": 27615,
"color": 0,
"city": "Québec",
"description": "Bienvenido a Derry roleplay, entra a nuestro discord para unirte https://discord.gg/AMg833ttbC",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1779781403,
"last_online": 1780383627,
"icon": null,
"name": "Welcome To Derry",
"connect": "51.222.41.13:27615",
"request": "51.222.41.13:27615",
"map": "vehicle_interior;AZSpawn;AZSpaw",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779355281,
"last_update": 1780383627,
"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": 2136,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11536184");
$data = json_decode($json, true);
var_dump($data);