MORDHAU
API pentru Bibberbang
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11181073json
{
"response": {
"steam_id": 90281536732550160,
"domain": null,
"id": 11181073,
"ip": "165.217.128.207",
"port": 1035,
"query": 1036,
"color": 0,
"city": "New York",
"description": null,
"game": 629760,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1776451867,
"icon": null,
"name": "Bibberbang",
"connect": "165.217.128.207:1035",
"request": "165.217.128.207:1036",
"map": "Noria",
"gamemode": "Mordhau",
"version": "702625635",
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229678,
"last_update": 1776451867,
"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": 83,
"language": "en",
"parked": false,
"app": {
"id": 51451,
"steam_id": 629760,
"name": "MORDHAU",
"url": "mordhau"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11181073");
$data = json_decode($json, true);
var_dump($data);