theopfam community server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": 90286237670236160,
"domain": null,
"id": 11624059,
"ip": "47.253.130.33",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Charlottesville",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780562015,
"last_online": 1780282978,
"icon": null,
"name": "theopfam community server",
"connect": "47.253.130.33:9876",
"request": "47.253.130.33:9877",
"map": "VRisingWorld",
"gamemode": "05788327-21d4-4f78-8454-dace468f3e11",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916131,
"last_update": 1780562015,
"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": 4421,
"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/11624059");
$data = json_decode($json, true);
var_dump($data);