Hosted by ZAP-Hosting.com için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286238038367232",
"domain": null,
"id": 11543722,
"ip": "147.189.169.2",
"port": 27021,
"query": 27022,
"project_id": null,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780872205,
"last_online": 1780405886,
"icon": null,
"name": "Hosted by ZAP-Hosting.com",
"connect": "147.189.169.2:27021",
"request": "147.189.169.2:27022",
"map": "VRisingWorld",
"gamemode": "1f652774-d536-46bf-822f-d8e7c2ef5a49",
"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": 1779355507,
"last_update": 1780872205,
"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": 3931,
"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/11543722");
$data = json_decode($json, true);
var_dump($data);