API dla Infinite Gaming | Bloodcraft | PvP | Brutal | No Wipes
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": "90286907895199756",
"domain": null,
"id": 10610080,
"ip": "15.204.96.41",
"port": 9876,
"query": 9877,
"project_id": null,
"color": 0,
"city": "Hillsboro",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780902858,
"last_online": 1781280201,
"icon": null,
"name": "Infinite Gaming | Bloodcraft | PvP | Brutal | No Wipes",
"connect": "15.204.96.41:9876",
"request": "15.204.96.41:9877",
"map": "VRisingWorld",
"gamemode": "1bf079d3-00ec-4b17-b49e-f4954f82325e",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 244,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763323271,
"last_update": 1781280201,
"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": 1100,
"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/10610080");
$data = json_decode($json, true);
var_dump($data);