Dock Yard Fella için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286547223546889",
"domain": null,
"id": 11544168,
"ip": "134.255.214.185",
"port": 30050,
"query": 30051,
"project_id": null,
"color": 0,
"city": "Clifton",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1781150004,
"last_online": 1780515698,
"icon": null,
"name": "Dock Yard Fella",
"connect": "134.255.214.185:30050",
"request": "134.255.214.185:30051",
"map": "VRisingWorld",
"gamemode": "6d06d181-6347-458c-b42e-50baa14545cc",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355516,
"last_update": 1781150004,
"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": 4120,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11544168");
$data = json_decode($json, true);
var_dump($data);