The Front
API pentru Aubrios
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11138219json
{
"response": {
"steam_id": "90284510669352986",
"domain": null,
"id": 11138219,
"ip": "144.126.153.200",
"port": 36300,
"query": 36315,
"color": 0,
"city": "St Louis",
"description": "An Adventure PVE Experience for a streamer and his cohorts. Res x3 Stack x 100 Please join discord for access. Be courteous and Kind or you will not play on this server and if you are caught griefing it will be dealt with accordingly. https://discord.gg/WHnK74E3kC",
"game": 2285150,
"owner": null,
"boosts": 1,
"last_offline": 1770398650,
"score": 0,
"last_online": 1776382221,
"icon": null,
"name": "Aubrios",
"connect": "144.126.153.200:36300",
"request": "144.126.153.200:36315",
"map": "CooolMap",
"gamemode": "PVP",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770398650,
"last_update": 1776382221,
"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": 26,
"language": "en",
"parked": false,
"app": {
"id": 1617669,
"steam_id": 2285150,
"name": "The Front",
"url": "the-front"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11138219");
$data = json_decode($json, true);
var_dump($data);