Soulmask
Hosted By Game Host Bros için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11491264json
{
"response": {
"steam_id": "90285111442221075",
"domain": null,
"id": 11491264,
"ip": "216.39.242.243",
"port": 27031,
"query": 27032,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1777236715,
"score": 0,
"last_online": 1777540257,
"icon": null,
"name": "Hosted By Game Host Bros",
"connect": "216.39.242.243:27031",
"request": "216.39.242.243:27032",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1777236715,
"last_update": 1777540257,
"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": 1234,
"language": "de",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11491264");
$data = json_decode($json, true);
var_dump($data);