noinfo3052620
API pentru OTT US_East - Vanilla (KSQUAD)
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11394762json
{
"response": {
"steam_id": "90284403939800073",
"domain": null,
"id": 11394762,
"ip": "167.160.93.164",
"port": 7184,
"query": 7185,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1776021739,
"score": 0,
"last_online": 1776278431,
"icon": null,
"name": "OTT US_East - Vanilla (KSQUAD)",
"connect": "167.160.93.164:7184",
"request": "167.160.93.164:7185",
"map": "Picardie_Trenches: Conquest",
"gamemode": "Over The Top: WW1",
"version": "OTT_1.01",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774597064,
"last_update": 1776278431,
"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": 51,
"language": "en",
"parked": false,
"app": {
"id": 1665334,
"steam_id": 3052620,
"name": "noinfo3052620",
"url": "noinfo3052620"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11394762");
$data = json_decode($json, true);
var_dump($data);