API dla BLOODMOON ENJOY
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90285914811724805",
"domain": null,
"id": 11544609,
"ip": "172.240.69.139",
"port": 20180,
"query": 20181,
"project_id": null,
"color": 0,
"city": "San Jose",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1779355530,
"last_online": 1780957965,
"icon": null,
"name": "BLOODMOON ENJOY",
"connect": "172.240.69.139:20180",
"request": "172.240.69.139:20181",
"map": "VRisingWorld",
"gamemode": "5f31ede8-6360-4778-8d0f-fadcfebe6e09",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355530,
"last_update": 1780957965,
"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": 2514,
"language": "en",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11544609");
$data = json_decode($json, true);
var_dump($data);